Archive: required disk space


required disk space
Hi!,
I have almost completed my install app but I have a problem.
In the section window, the disk space required text is always 0.0KB.
Additionally I create 4 sqlserver databases and I wanted to know if I can pre-decide and display the MB required for each section without having the installer mess with it.

Sorry about my poor English..
I hope u understood.

thanx in advance


You must have used the File commands in functions called by the sections. In order for the file's size to be added to the required amount, you must use the File command in the section itself.

To add or remove additional bytes from the requried amount use AddSize. If you want to do it on runtime use SectionSetSize and SectionGetSize.