Archive: Set installation size


Set installation size
Hi there,

Ive got a small problem. Ive written a dynamic loading addon to NSIS which reads in a file at execution time and then installs the files listed inside this file. This all works fine, but obviously the installation screen states that there is only 1.2Mb to install (which is the size of the manual, which is compiled in to the installer).

So my question - is there a way to programmatically set this value? Its not a major thing, its just we have to install 12GB (!!) of data, and its a bit silly telling the user they have plenty of space when they may not...

Thanks in advance
Paul


4.9.13.7 SectionSetSize

SectionSetSize section_index new_size

"Sets the Size of the section specified by section_index. Note that the Index starts with Zero. The Value for Size must be entered in KiloByte and supports only whole numbers."

-Stu