This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Allow only selectable drives
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2010
10:50 AM
Allow only selectable drives
As per the thread below. I am wanting to only allow the user to pick drive that the software gets installed on and not the path (E.g. X:\Program Files\MyApp). X being the only thing they can select.
I think I found what I want in the Dialogs designer with "Volume Select Combo". But I am getting "Error: 2819. Control VolumeSelectCombo on dialog CustomSetup needs a property linked to it." I can't seem to add a property in the "Property Manager" with a space in it or even if that is a solution to the problem.
Any feedback on a better way of doing it would be appreciated.
http://community.flexerasoftware.com/showthread.php?t=194091
I posted the above thread in the wrong location.
I think I found what I want in the Dialogs designer with "Volume Select Combo". But I am getting "Error: 2819. Control VolumeSelectCombo on dialog CustomSetup needs a property linked to it." I can't seem to add a property in the "Property Manager" with a space in it or even if that is a solution to the problem.
Any feedback on a better way of doing it would be appreciated.
http://community.flexerasoftware.com/showthread.php?t=194091
I posted the above thread in the wrong location.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2010
05:58 PM
There needs to be a public property specified in the "Property" setting for a VolumeSelectCombo control. For example, specify SELECTEDVOLUME as a public property name. If Property field for this control is left blank, runtime error 2819 will occur.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2010
01:29 PM
joshstechnij wrote:
There needs to be a public property specified in the "Property" setting for a VolumeSelectCombo control. For example, specify SELECTEDVOLUME as a public property name. If Property field for this control is left blank, runtime error 2819 will occur.
I think I figured out what I need but running into a little snag...
I created a Volume Select Combo and assigned it a property value of "_BrowserPropperty" and changed it to be an "Indirect Property". That changes the installation location do "C:\" or "D:\" or whatever is in the dropdown menu but I want to append my own folder on behind it.
E.g. (C:\MyApplication\ApplicationFile). I tried doing [_BrowseProperty]\MyApplication but that didn't work out.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2010
01:28 PM
So I eventually figured out a solution to the problem...
On the "InstallChangeFolder" dialog box I added a "Volume Select Combo". named the property "INSTALLDRIVE" left the indirect property as "False".
On the "Ok" button I added the following
[FEATURENAME] [INSTALLDRIVE] 1
SetTargetPath [_BrowseProperty] 1
and left everything else the same.
Most of what I did was taken from this thread
http://community.flexerasoftware.com/showthread.php?t=145774&highlight=Select+Drive
This seems to be a common question, it surprises me that there is no clear concise and accurate solution. Hopefully this helps someone else out.
On the "InstallChangeFolder" dialog box I added a "Volume Select Combo". named the property "INSTALLDRIVE" left the indirect property as "False".
On the "Ok" button I added the following
[FEATURENAME] [INSTALLDRIVE] 1
SetTargetPath [_BrowseProperty] 1
and left everything else the same.
Most of what I did was taken from this thread
http://community.flexerasoftware.com/showthread.php?t=145774&highlight=Select+Drive
This seems to be a common question, it surprises me that there is no clear concise and accurate solution. Hopefully this helps someone else out.
