Voxel
1st December 2004 01:05 UTC
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
scrose
1st December 2004 01:50 UTC
AddSize or SectionSetSize
deguix
1st December 2004 01:55 UTC
Whoops! scrose said it all.
Voxel
1st December 2004 02:03 UTC
Thank you very very much!
Thank you very very much!
superwan
29th January 2005 15:56 UTC
thank you :p
dienjd
27th December 2005 23:21 UTC
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.
Afrow UK
28th December 2005 13:09 UTC
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