cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
davidang
Level 4

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
Labels (1)
0 Kudos
(1) Reply
dan_galender
Level 10

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.
0 Kudos