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: Conditionally installing a feature,but still 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
‎Sep 16, 2008
11:46 AM
Conditionally installing a feature,but still selected?!
I am trying to Conditionally installing a feature based on a value of a registry value.
Added search for a registry value,saved it in a custom property
and added this property to the feature condition,but still the feature is selected in the tree.
i also tried the example( AdminUser and Not AdminUser ) and got same result
the feature is always selected!
thanks in advance
Added search for a registry value,saved it in a custom property
and added this property to the feature condition,but still the feature is selected in the tree.
i also tried the example( AdminUser and Not AdminUser ) and got same result
the feature is always selected!
thanks in advance
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2008
02:36 PM
What did you set as the install level for the feature condition?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
05:02 AM
I set to 200 and the INSTALLLEVEL Property is set to 100
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
07:07 AM
Is this a Basic MSI project or an InstallScript MSI project? If the latter, perhaps call FeatureSelectItem in your script to control the selection? (Mentioned at the bottom of the "Conditionally Selecting Features" help topic.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
11:23 AM
So the UI is not affected by the feature condition?!?!
I wanted to avoid this, any way i will give it a try, thanks.
I wanted to avoid this, any way i will give it a try, thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
02:01 AM
How did you set your feature condition? If the INSTALLEVEL property is set to 100, only the components with smaller install level numbers will be selected. so you should set your feature's install level as, say, 200, and in the condition, if the condition is true, the install level should be, say, 1. With this setting, it should work.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)