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
- :
- Re: Conditional Builds or ISWiProject??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 22, 2007
03:06 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 23, 2007
05:00 AM
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.
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
InstallSite.org
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)