Sandor
Posts: 6
Joined: Sun Apr 20, 2008 9:09 pm

How to check for at least 5GB on Disk ?

Hi,

after installation, for one of the Directories there should be at least 5GB free space on disk.
If not, RollBack should be performed.
I tried under "Reserve additional disk space for this component" in Component Properties panel.
However, it seams to be limited to 904 MB only.
How can I reseve 5GB ?

regards
sándor
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to check for at least 5GB on Disk ?

Hi,

I'm afraid that the Windows Installer engine does not support reserve space values higher than 2GB. This is because the values are stored in bytes in an integer type table inside the MSI database. However, we will make some improvements which will avoid this limitation in a future Advanced Installer version .

Until then, the workaround is this:
- go to the Organization page and reserve 1666 MB for your component
- save and close the AIP
- open it with a text editor
- find the "caphyon.advinst.msicomp.MsiReserveCostComponent" component
- copy the row which corresponds to your component and paste it two times (you should have three identical rows)
- modify the "ReserveKey" values so they are unique
- save the AIP

This way, Advanced Installer reserves 1666 MB three times (4998 MB) for your component.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”