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
- :
- Check Feature State in Basic MSI using 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
‎Dec 06, 2007
04:30 AM
Check Feature State in Basic MSI using InstallScript
Does anyone know if it is possible to check the pending feature state of a feature inside InstallScript within a Basic MSI product. Basically I want to check if the feature is selected for installation and to only run though a if loop if it is. I cannot run the script based on the state however as the script it iterating through a table and each record wants to check different feature.
It's a shame the FeatureIsItemSelected doesn't work.
It's a shame the FeatureIsItemSelected doesn't work.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
09:28 AM
If nothing else, does something like MsiEvaluateCondition(hMSI, "&FeatureName=3") work?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
09:51 AM
That's even better, now I can use any condition in my custom table, didn't spot that one in the help.
Rob, Your an absolute star as always. Thanks. 🙂
Rob, Your an absolute star as always. Thanks. 🙂