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!

Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Drive Space Information

Hi Support,

How the installer validates the Drive space requirements i.e., Total space on drive, Available space and Remaining free space in the folder dialog.
I searched about this on forums. But, I can't find the relevant information.

Regards,
Meena
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: Drive Space Information

Hi Support,

Any Suggestions?


Regads,
Meena
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Drive Space Information

Hello Meena,

The drive space requirements validation are done by Windows Installer through some standard actions which stores their values in the following properties:
  • [PrimaryVolumeSpaceRequired]
    [PrimaryVolumeSpaceAvailable]
    [PrimaryVolumeSpaceRemaining]
For more details you can take a look on the following MSDN articles:
http://msdn.microsoft.com/en-us/library/aa368593.aspx
http://blogs.msdn.com/b/heaths/archive/ ... 80237.aspx
http://msdn.microsoft.com/en-us/library/aa370506.aspx
http://msdn.microsoft.com/en-us/library/aa368050.aspx
http://msdn.microsoft.com/en-us/library/aa369546.aspx

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: Drive Space Information

Hi,

I used the Volume select combo instead of default path edit & browse button in the Install Dialog. The problem with the volume select combo is when I select the different drive in it, the drive spaces are not changed according to my drive selection. If I proceed further and then come back to install dialog then only the values are updated. So, what can I do to change these values immediately after my drive selection in the volume combo?

Thanks,
Meena
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Drive Space Information

Hello Meena,

I'm afraid I don't fully understand what you try to achieve. Can you please send us a screenshot with the dialog where you want to display the drive spaces and its configuration?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: Drive Space Information

Hi Eusebiu,

I'm attaching the screenshots here. In that APPDIR is C drive.It displays the space details of the C drive accordingly. When I select the D drive, the space values of D drive are not updated which is shown in the Dialog1.png. After coming out from that dialog only, these values are updated. So, how can I get those details instantly as per my drive selection other than the APPDIR.

Thanks,
Meena
Attachments
Dialog1.png
Dialog1.png (76.65 KiB) Viewed 6147 times
Dialog.png
Dialog.png (76.54 KiB) Viewed 6147 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Drive Space Information

Hi Meena,

I'm afraid that all that a combobox can do, is to set the selected drive to the APPDIR property, but it does not refresh the values from the other properties. Also, a combobox control does not support published events, so I'm afraid that the space requirements values cannot be refreshed when the drive is changed in that combobox.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: Drive Space Information

Hi Eusebiu,

Is there any alternative method to refresh the volume select combobox?

Regards,
Meena
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Drive Space Information

Hello Meena,

I'm afraid that it cannot be refreshed automatically. You can only add a push button (i.e. Refresh) and add a "Verify and set the selected folder path" event on that path that sets the APPDIR property (as it is on the "Next" button of that dialog).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”