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 Disable Features in InstallScript?
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
‎Jan 11, 2008
01:21 PM
How to Disable Features in InstallScript?
I created a separate feature for my .NET Framework Object that I would like to disable if the target machine already has the framework object. The InstallScript manual doesn't show a FeatureDisable function - any thoughts?
Thanks in advance.
Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2008
01:48 PM
Take a look at the FeatureSelectItem function. Using this function you can change whether a feature is selected, and therefore installed, at runtime.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2008
03:48 PM
Thanks, that worked. I had to make sure and select the item after I called the FeatureSetupTypeSet function, but once I did that it worked great.
Thanks again.
Thanks again.