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

Conditional Builds or ISWiProject??

Hi all,

I have an Basic MSI install that normally requires all features to be installed. However, there is one feature some of our customers do not want to even include in the install. So, we merely cloned the project and removed the features. This was done to ensure that someone couldn't get at the 'forbidden' feature.

Is there any way to do a conditional build as one would do in C, etc.?

At the moment, it looks like only only way to avoid having two projects to maintain is to make use of ISWiProject and to modify the master install project and re-build with the unwanted feature.

TIA

Ken
Labels (1)
0 Kudos
(1) Reply
Stefan_Krueger
Level 9

Specify a release flag for this feature. In Releases view, create a new product configuration. In one configuration specify this release flag under product configuration flags, and not in the other (you need to specify at least some fake entry there, however).
Now you can build both configurations from the same project. If oyu wish you can also use different ProductCodes and ProductNames for the two configurations.
Stefan Krueger
InstallSite.org
0 Kudos