Ippi
17th September 2005 13:03 UTC
Uninstaller size calculation
When I use the "WriteUninstaller" instruction, I also have to manually add the uninstaller size to the section, but the problem is that the size depends on the script contents; moreover, the size gradually changes while NSIS is improving (every day? ;)). Is it possible to calculate the uninstaller size automatically?
kichik
17th September 2005 13:20 UTC
It'd require non-trivial source changes. It can not be determined when WriteUninstaller is processed but only after uninstall_generate() returns. That'd require remembering in which sections WriteUninstaller was called and how many times. Those sections should then be altered after uninstall_generate().