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
- :
- Conditional Installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 26, 2009
08:57 AM
Conditional Installation
I would like to conditionally select/deselect different features:
ProductAdd2005
ProductAdd2006
ProductAdd2007
ProductAdd2008
The condition is set in a file MYProduct.txt on the target machine.
Productversion: 2005 or
Productversion: 2006
.....
Using Basic MSI/(InstallScript MSI) is there any way to
1) determine the value from the file and then
2) set the feature's Install Level Property to 0 (so it doesn't get installed) at runtime?
Thanks in advance
ProductAdd2005
ProductAdd2006
ProductAdd2007
ProductAdd2008
The condition is set in a file MYProduct.txt on the target machine.
Productversion: 2005 or
Productversion: 2006
.....
Using Basic MSI/(InstallScript MSI) is there any way to
1) determine the value from the file and then
2) set the feature's Install Level Property to 0 (so it doesn't get installed) at runtime?
Thanks in advance
(1) Reply
Mar 26, 2009
09:00 AM
Have you looked at the help topic "Conditionally Installing Features"?
You may have to have a custom action which reads your external file and set a property (for each feature) based on what it finds. You could then use that property for the Feature Condition.
You may have to have a custom action which reads your external file and set a property (for each feature) based on what it finds. You could then use that property for the Feature Condition.