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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Rule to check if feature selected by user
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
‎Apr 14, 2008
10:57 AM
Rule to check if feature selected by user
I have multiple features a user can install. I have configuration,including panels to prompt for that info. I need to only prompt and configure if the user has selected that feature. I can't find an easy way to do this. There should just be one variable I can check. I think this is something everyone would need... shouldn't it be a standard rule? Am I missing something?
I think the solutions is to write a custom rule that cycles through CHOSEN_INSTALL_FEATURE_LIST looking for the feature. I just can't imagine that it is not a given.
I think the solutions is to write a custom rule that cycles through CHOSEN_INSTALL_FEATURE_LIST looking for the feature. I just can't imagine that it is not a given.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2008
06:19 PM
Instead of looping over the values in a custom rule, perhaps use a Compare InstallAnywhere Variables rule that checks if $CHOSEN_INSTALL_FEATURE_LIST$ contains the feature name you want? Assuming the feature names don't overlap (no case like "thing" and "nothing", and all that)...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2008
09:16 AM
It'd be nice if there was some documentation on this.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)