Prerequisites Disk Space - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sagoo33
Posts: 2
Joined: Wed Jun 22, 2011 12:17 am

Prerequisites Disk Space

Hi,

I am using Advanced Installer Profressional and have a number of prerequisites to install, ie. .NET 4 and SQL Server Express.

These require a certain amount of temporary disk space for the install, SQL needs around 2gb to extract all it's files but it doesnt actually install that amount of data.
.Net needs around 2 gb also.

I know I can use the "Reserve additional disk space for this component" under Organisation tab, however, if I allocate 2gb for each prerequiste, this appears under my "Main Feature" in control panel. My main feature actually takes up about 22mb.

I know I can wait for the .Net installer to determine if there is enough space, but I need to have the disk space check occur before the installation starts.

Have I missed somewhere where this can happen?

Thanks,

Adam
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Prerequisites Disk Space

Hi Adam,

The feature based prerequisites should be added under new and separate features, so the required space option should not be related with the main feature.

Do you have the feature based prerequisites directly under the MainFeature, in Organization page?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sagoo33
Posts: 2
Joined: Wed Jun 22, 2011 12:17 am

Re: Prerequisites Disk Space

Hi,

Thanks for your reply.

No, the feature based prerequisites are directly under the MainFeature in the organisation page.
Please notice the attached image of my organisation tab (aiProj.png).
I have reserved an extra 400mb for .net and 2gb each for the sql servers.

After installation, the main feature (Infusion 10 Server) has 2421mb allocated, the 21mb being the size of the MainFeature (see attached ctlPnl.png).

Is there another way of ensuring there is enough disk space for my prerequisites before the install commences and without relying on the prerequisite installers internal disk space check?

Thanks,

Adam
Attachments
ctlPnl.PNG
ctlPnl.PNG (40.96 KiB) Viewed 4855 times
aiProj.png
aiProj.png (175.86 KiB) Viewed 4855 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Prerequisites Disk Space

Hi,

You have 4 main features. A main feature is on the first tree level right under "Product". Also, the disk space is listed for your product, not for a feature. You can read more about features here: http://www.advancedinstaller.com/user-g ... ation.html

Unfortunately the product disk space is determined automatically by Windows Installer. Also, this value isn't always correct.

I'm afraid that what you need is not supported by Windows Installer. Some of the possible solutions are:
- reserve the additional space and keep the incorrect listing in Control Panel
- let each prerequisite handle its own space requirements
- write a Win32 DLL or VBScript custom action which determines available size and saves it an installer property; this property can then be used as a custom launch condition

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

Return to “Common Problems”