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: How to implement only one feature selected
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
‎Dec 21, 2016
06:42 AM
How to implement only one feature selected
Hi,
I have created two features, how to make that only one feature can be selected not both?
Thanks
I have created two features, how to make that only one feature can be selected not both?
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 30, 2016
01:46 PM
One possibility is that you could go into your Features node, select the featureName, whatever it be, that you don't want them to have a choice over and in the right-hand pane change the "Display" to "Not Visible". It will still install assuming everything else is equal, the user just will not see that one as a choice in the Feature Tree of the CustomSetup dialog.
I hope that is somewhat helpful.
Chad
I hope that is somewhat helpful.
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 30, 2016
01:52 PM
If that is not what you are after then the INSTALLLEVEL might do the trick for you. INSTALLLEVEL is a bit tricky to understand initially but once you use it some it can be handy. There is a global INSTALLLEVEL for the whole project and then an INSTALLLEVEL for each Feature in your installer. Rather than retype the whole thing I'll link you to this information.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa369536(v=vs.85).aspx
Since INSTALLLEVEL gets logged you can always look at the MSI install log to see what the values are for it.
I hope it helps.
Chad