Hi Tim,
I'm sorry but I misunderstood your request. The solution I gave you earlier will not work in your case.
There is another possibility but in evolves setting the value for those properties from command line using "msiexec.exe".
In order to condition the installation of the features here is what you could do:
- Go to the "Install Parameters" page and create a property named say, "InstallFeature", set it's value to 0 for example.
- Go to the "Organization" page.
- Click on the "MainFeature" branch.
- In the "Feature Properties" pane click on the [ Conditional... ] button.
- In the newly appeared window use the [ New ] button to edit the "Condition" field to "ok=2" and set the "Level" field to "0(Disabled)"
Repeat the above steps for the second feature only this time set the values for the "Conditional" field to "ok=1". Set the "Level" 0.
The command line to launch your application and set the value of the property is:
msiexec /i "Package.msi" Property=value;
For example if you want to install the first feature your command line should look like this:
msiexec /i "MyPackage.msi" ok="1";
For more information on this topic please visit:
http://msdn.microsoft.com/library/defau ... ptions.asp
All the best,
Ciprian