Archive: Display the correct "space required" by the installer.


Display the correct "space required" by the installer.
Hi,

I have an installer which packages 3 other MSIs inside it. On running the installer, I execute these constituent MSIs using ExecWait 'msiexec.exe…’

Now the problem is that the “space required” is always shown as 0.0 kb on the directory page. Is there some way I can get NSIS to compute the correct space required in this particular scenario?


Thanks,
SB


http://nsis.sourceforge.net/Docs/Chapter4.html#4.6.1.1

The command reference is your friend.


You have to find out how much space each package takes, and then call SectionSetSize:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.13.7


Or that. :P