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: Install feature conditionally
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 09, 2007
05:09 AM
Install feature conditionally
I have just downloaded the evaluation version of Installshield 2008 (Premier Ed). I am looking to install a feature conditionally, dependent on a registry key being present on the destination computer. I cannot see how to do this. ANy help appreciated.
(2) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2007
09:28 AM
Which project type?
For Basic/InstallScript MSI, you can just created a System Search (http://helpnet.macrovision.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield14helplib/SystemSearchWizard.htm) for your registry key and then create a condition on your feature to set the feature's install level (http://helpnet.macrovision.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield14helplib/IHelpFeatCondition.htm) based on the property you set in your system search.
For Basic/InstallScript MSI, you can just created a System Search (http://helpnet.macrovision.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield14helplib/SystemSearchWizard.htm) for your registry key and then create a condition on your feature to set the feature's install level (http://helpnet.macrovision.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield14helplib/IHelpFeatCondition.htm) based on the property you set in your system search.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2007
01:08 AM
OK, Thanks. I have created a system search for a registry key entry to exist. Now in the feature condtion box I clicked on the "..." and in the new dialog box, I have the drop down property box. How dow I choose the registry entry I selected in the system search. I doesn't give any details of variables set anywhere else.