How to add disk space indication? - 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!

redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

How to add disk space indication?

Installer Enterprise > Classic theme > Enhanced UI (only install)

For the following dialogs:
- FolderDlg
- StartMenuShortcutsDlg
- VerifyReadyDlg

I'd like to have indications of the required disk space and the available disk space.

How can I do this?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to add disk space indication?

Hi,

The properties you are interested in are:

-- PrimaryVolumeSpaceRequired
-- PrimaryVolumeSpaceAvailable

To have these properties set correct you will need to set the following properties like this:
- go to the "Custom Actions" page and add a "Set installer property" custom action before the "Wizard Dialogs Stage -> Searches" action group
- set the "Property" field to:

Code: Select all

AiEarlyValidate
- set the "Value" field to:

Code: Select all

1
- create another "Set installer property" custom action under it
- set the "Property" field to:

Code: Select all

PRIMARYFOLDER
- set the "Value" field to:

Code: Select all

APPDIR
The custom actions should use the following condition:

Code: Select all

NOT Installed
If you are not using Enhanced UI you only need to set the "PRIMARYFOLDER" property and not the "AiEarlyValidate" property too.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
redseujac
Posts: 32
Joined: Thu Feb 10, 2011 7:16 pm

Re: How to add disk space indication?

Thank you very much. I did what you suggested and it's perfect indeed :D

Return to “Common Problems”