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: Hiding Features
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
Oct 12, 2012
05:11 PM
Hiding Features
Project Type: InstallScript, 2012 Premiere
I'm working on a prototype installer that will be running on two different types of machines and the installer needs to behave very differently on each machine type. One is a server-oriented environment and the other is a workstation-oriented environment. The workstation is nothing more than a subset of the server environment. Here is a feature tree that we would like to use:
Desktop Software
+- Feature 1
+- Feature 2
Web Software
+- Feature 3
+- Feature 4
"Desktop Software" is a parent feature and "Feature 1" is a child. "Feature 1" should be hidden and deselected for workstation installs unless a particular condition occurs. I cannot figure out how to hide a child feature. If I use the identical script logic and move this feature up (making it a sibling of "Desktop Software") the hiding functionality (FeatureSetData) works as expected.
Is this just how InstallShield works or is there some way to dynamically hide a child feature at run-time?
I'm working on a prototype installer that will be running on two different types of machines and the installer needs to behave very differently on each machine type. One is a server-oriented environment and the other is a workstation-oriented environment. The workstation is nothing more than a subset of the server environment. Here is a feature tree that we would like to use:
Desktop Software
+- Feature 1
+- Feature 2
Web Software
+- Feature 3
+- Feature 4
"Desktop Software" is a parent feature and "Feature 1" is a child. "Feature 1" should be hidden and deselected for workstation installs unless a particular condition occurs. I cannot figure out how to hide a child feature. If I use the identical script logic and move this feature up (making it a sibling of "Desktop Software") the hiding functionality (FeatureSetData) works as expected.
Is this just how InstallShield works or is there some way to dynamically hide a child feature at run-time?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 14, 2012
09:39 AM
The FeatureSetData page has a link to the topic "Specifying Features and Subfeatures in Function Calls", which might help. The idea is that you give the full path to the subfeature, as in "Desktop Software\\Feature 1".