SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Volume Combo Box

Hi all,
we are using a volume combo box in order to let the user choose the destination for an additional program. The volume combo box always starts without a value, is it possible to always initialize it with the first value ( in our case the first volume)?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Volume Combo Box

Hi,

To accomplish this, simply add a new SetProperty init event on the same dialog as the Volume Select Combo control. This event should set the control's attached public property to the value you need.
Something like:

Code: Select all

C:\
or

Code: Select all

[WindowsVolume]
Volume Select Combo.jpg
Volume Select Combo.jpg (64.65 KiB) Viewed 5938 times
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Re: Volume Combo Box

thanks! Works fine :)
cpatterson
Posts: 11
Joined: Tue Feb 03, 2015 3:23 pm

Re: Volume Combo Box

Is it possible to list only the drives greater than a certain size in the VolumeSelectCombo? Since the VolumeCostList knows the sizes of the drives, can I somehow use that information to restrict the values in the VolumeSelectCombo?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Volume Combo Box

Hello Candace,

As we already discussed over e-mail, we don't have any predefined support for this. The only way to achieve this is by creating your own custom action with desired functionality.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”