cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lam1278
Level 6

Allow user to change drive not folder

I found this post searching the forum:

http://community.installshield.com/showthread.php?t=172531

However, I am stuck with a InstallScript MSI project... can't change. They want to be able to install the product to a different drive only (i.e., the C: drive is reserved for "Program Files" and they want to be able to select 😧 or E: or whatever).

I know I need to create a custom dialog, but since I can't use the Volume Select Combo, I need to know if there are some InstallScript functions that will assist me in this task?

Thanks ahead of time
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Perhaps try GetValidDrivesList, using CtrlSetList to feed the result to a drop-down list on your custom dialog box (setting the default with CtrlSetCurSel to set the default drive letter)...
0 Kudos
lam1278
Level 6

RobertDickau wrote:
Perhaps try GetValidDrivesList, using CtrlSetList to feed the result to a drop-down list on your custom dialog box (setting the default with CtrlSetCurSel to set the default drive letter)...


Excellent, thanks Robert, that'll work!
0 Kudos