PDA

View Full Version : Install feature conditionally



19ct70
07-09-2007, 05:09 AM
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.

bryanwolf
07-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.

19ct70
07-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.