Archive: Changing required space with MUI_PAGE_DIRECTORY


Changing required space with MUI_PAGE_DIRECTORY
My installer dynamically generates some large files on installation and I need to change the space required shown on the MUI_PAGE_DIRECTORY.

My app itself takes 5 megabytes, which is shown, but infact can required 1 gigabyte when install is complete.

How can I chang


AddSize or SectionSetSize


Whoops! scrose said it all.


Thank you very very much!
Thank you very very much!


thank you :p


I'm having my installer download a file and then run it. The disk space required is in an INI file, which I can read, but how do I pass that value to MUI_PAGE_DIRECTORY?

AddSize doesn't seem to accept a variable for size_kb. Otherwise, this would work.


AddSize is a compile time instruction I think. Therefore you need to use SectionGetSize, add your size onto the value then set the new value with SectionSetSize.

-Stu