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
- :
- Set/Remove required features with Installscript
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
Aug 31, 2010
04:01 PM
Set/Remove required features with Installscript
Hi:
How do I add/remove required features for a given feature with Installscript?
I spent sometime browsing through the help and google and cannot seem to figure it out.
Thank you in advance.
cheers,
How do I add/remove required features for a given feature with Installscript?
I spent sometime browsing through the help and google and cannot seem to figure it out.
Thank you in advance.
cheers,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 01, 2010
11:08 AM
I don't think there's a straightforward way. Common practice seems to be to create at design time an invisible feature that requires your feature, and at run time programmatically select and deselect the invisible feature with FeatureSelectItem based on whatever condition you want to test.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)