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
- :
- Help with feature/subfeature relationships
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 30, 2010
04:13 PM
Help with feature/subfeature relationships
I have an Installscript project where I call SdFeatureTree. I have a condition where I want to be able to install a certain feature (feature B) ONLY if a related feature (feature A) is installed. However, it is acceptable for feature A to be installed and not feature B.
My thought was to make feature B a subfeature of feature A, but I'm finding that when I select feature A, feature B is also selected, and vice versa. How can I make this relationship work the way I've described above?
My thought was to make feature B a subfeature of feature A, but I'm finding that when I select feature A, feature B is also selected, and vice versa. How can I make this relationship work the way I've described above?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 31, 2010
06:26 AM
Keep the 2 features separate.
You can use FeatureSelectItem() to select Feature A, when B is selected.
You can use FeatureSelectItem() to select Feature A, when B is selected.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)