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: How to get a property of selecting a feature
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
‎Jul 16, 2010
03:56 AM
How to get a property of selecting a feature
Hi All,
I need to add a condition to a component that enables it when a user selects a certain feature.
I cannot figure out how to define a variable changing (false/true) when a feature is selected.
Can someone please point me into a right direction?
Thanks!
I need to add a condition to a component that enables it when a user selects a certain feature.
I cannot figure out how to define a variable changing (false/true) when a feature is selected.
Can someone please point me into a right direction?
Thanks!
4 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2010
06:48 AM
Hi,
Simple associate the component to that feature.
Setup designer view, right click the feature, and associate component.
Simple associate the component to that feature.
Setup designer view, right click the feature, and associate component.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2010
03:01 PM
Yes I can do it, no problems, but it is not what I need.
Component A is associated with Feature A.
If feature A is selected, Component B should be disabled.
So, what I need is to capture a variable that shows, if Feature A is selected. Then I could add a condition for the component B.
Any suggestions how to do that?
Thanks!
Component A is associated with Feature A.
If feature A is selected, Component B should be disabled.
So, what I need is to capture a variable that shows, if Feature A is selected. Then I could add a condition for the component B.
Any suggestions how to do that?
Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 19, 2010
06:27 AM
I see, maybe this will help.
Component B's condition.
&FeatureA=3
This means FeatureA is selected & is being installed 3.
http://msdn.microsoft.com/en-us/library/Aa368012
Hope this helps.
Component B's condition.
&FeatureA=3
This means FeatureA is selected & is being installed 3.
http://msdn.microsoft.com/en-us/library/Aa368012
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2010
01:37 AM
FeatureGetData (MEDIA, "Feature2", feature_FIELD_SELECTED, nvResult, svResult);
