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: FeatureIsItemSelected always return errorcode -132
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 24, 2015
07:19 AM
FeatureIsItemSelected always return errorcode -132
Hello together,
i have a problem by using the FeatureIsItemSelected function in a Basic MSI Project. The function call doesn't work, it always returns the errorcode -132.
When i used the function first time it worked fine but actually it doesn't work anymore and i don't know why.
The Features were created manually in InstallShield and not script based. For reason of testing the features are called "FT1" and "FT2".
So that the function call looks like this: FeatureIsItemSelected(MEDIA, "FT1")
I know that the error code means "media not found" but i don't know how to fix it.
Can someone help me?
Thanks.
regards Denis
i have a problem by using the FeatureIsItemSelected function in a Basic MSI Project. The function call doesn't work, it always returns the errorcode -132.
When i used the function first time it worked fine but actually it doesn't work anymore and i don't know why.
The Features were created manually in InstallShield and not script based. For reason of testing the features are called "FT1" and "FT2".
So that the function call looks like this: FeatureIsItemSelected(MEDIA, "FT1")
I know that the error code means "media not found" but i don't know how to fix it.
Can someone help me?
Thanks.
regards Denis
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2015
08:11 AM
Depending on what you need to do with this information, in a Basic MSI you are better off either calling MsiGetFeatureState or using a conditional statement that includes &FeatureNameHere. Is it possible your working scenario was in an InstallScript project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2015
08:18 AM
I need to write a config file at the end of the installation depending on what features were selected during the installation. MsiGetFeatureState i tried too, but it didn't helped me either. I read often about the conditional statement that includes &FeatureNameHere but i don't understand where i have to do this? At least it's really a Basic MSI and noch InstallScript solution. 🙂