[Github-comments] [geany/geany] Missing size data to Windows installer (#2007)

Enrico Tröger notifications at xxxxx
Sat Dec 8 14:38:51 UTC 2018


Basically possible but tricky in detail:
I tried adding the size information with method 1 described on https://nsis.sourceforge.io/Add_uninstall_information_to_Add/Remove_Programs#Computing_EstimatedSize.

This works well enough for Geany itself but provides wrong information for G-P:
the mentioned GetSize function works by determining the used disk space of the installation directory *after* installation. This fine for Geany and gives accurate numbers.
However since G-P has to be installed in the same installation directory as Geany itself, the G-P installer would include the existing Geany installation into the calculation and so reports wrong numbers.

I think telling the user wrong numbers is worse than not telling anything.

In theory, the best solution probably to sum up the required disk space numbers in the installer's Components page and use the result for the uninstall information.
But I didn't find a way to get these numbers in the NSI script.

If anyone has an idea and/or other solution, just re-open.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2007#issuecomment-445463967
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181208/2e56d4b4/attachment.html>


More information about the Github-comments mailing list