How to show disk free space for selected folder? - 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!

mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

How to show disk free space for selected folder?

In my installer a user should choose a folder that will be used by the installed application. Is it possible to display what space is available on the disk corresponding to the folder chosen by a user?
No milk today
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to show disk free space for selected folder?

Hello,

The related Windows Installer control is "Volume Cost List" control:
http://www.advancedinstaller.com/user-g ... section109

Windows Installer has some properties you can display, but as described in the Setting Primary Volume Space properties thread they are correctly resolved only when using Enhanced UI:
PrimaryVolumeSpaceRequired
PrimaryVolumeSpaceAvailable
PrimaryVolumeSpaceRemaining

Also, the Azure(FolderDlg), Modern(SetupTypeDlg) and Spring(FolderDlg) themes have this functionality implemented by default.

All the best,
Mihai


Last bumped by mihai.petcu on Tue Apr 17, 2012 8:34 am.
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”