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: Child feature selected when a parent is selected but the child can be de-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
Nov 01, 2009
05:57 PM
Child feature selected when a parent is selected but the child can be de-selected
It sounds simple but I cannot see a simple way do the above. If I use the "Required" setting for the child then when the parent is selected in the Custom Dialog feature tree then the child is selected BUT it cannot be subsequently deselected.
I can do this with very complex triggers in the selection tree using a pair of Custom Dialogs to update the feature display dynamically but has anyone got a better solution?
The specific example is a Docs feature for a number of different parents and I want the Docs to be selected normally but want the user to be able to deselect them if he explicitly wants to not install the documentation for the parent feature. Sounds simple.
Any ideas?
I can do this with very complex triggers in the selection tree using a pair of Custom Dialogs to update the feature display dynamically but has anyone got a better solution?
The specific example is a Docs feature for a number of different parents and I want the Docs to be selected normally but want the user to be able to deselect them if he explicitly wants to not install the documentation for the parent feature. Sounds simple.
Any ideas?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 04, 2009
05:15 PM
Is this a Basic MSI project? I may not fully understand your question but is sounds like you have set a feature to required but you want to user to be able to choose not to install the feature. If the feature is optional then the required property should be set to "No". As long as the InstallLevel for the feature is less than the value of the INSTALLLEVEL property then it will be selected by default, but the user will have the option to deselect it.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)