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!

GlennWilson
Posts: 33
Joined: Wed Sep 01, 2010 2:22 pm

Setting Primary Volume Space properties

Hi,

How are the Primary Volume Space properties that are shown in the FolderDlg dialog screen set? When I run the installation test within the Dialogs page of the AI application, the 3 values (PrimaryVolumeSpaceRequired, PrimaryVolumeSpaceAvailable & PrimaryVolumeSpaceRemaining) are set. However, when I build an MSI file using the AI project, these values are not set. So when I run the resulting MSI installer the values are always shown as "0".

Glenn
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Setting Primary Volume Space properties

Hi Glenn,

The EXE bootstrapper does some extra processing to correctly display the sizes during install. Perhaps it's used during the UI test.

Please try this:
- go to "Custom Actions" page
- show "InstallUISequence" -> "Begin" standard action
- create a Property set with formatted custom action under it
- set "Property Name" field to:

Code: Select all

PRIMARYFOLDER
- set "Formatted Text" field to:

Code: Select all

APPDIR
- rebuild your project

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlennWilson
Posts: 33
Joined: Wed Sep 01, 2010 2:22 pm

Re: Setting Primary Volume Space properties

Hi Cosmin,

Thanks for your response. After trying what you suggested, the values are still shown as 0. I set the Formatted Text as APPDIR and as [APPDIR] (i.e. without, then with square brackets), but neither worked.

Glenn
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Setting Primary Volume Space properties

Hi Glenn,

I'm not sure why this happens. Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

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

Return to “Common Problems”