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
- :
- When is it safe to call MsiGetFeatureState,MsiGetComponentState?
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
Nov 02, 2008
03:46 AM
When is it safe to call MsiGetFeatureState,MsiGetComponentState?
When in installscript sequence can i call MsiGetComponentState?
Thanks in advance
Thanks in advance
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 03, 2008
03:40 PM
If you are calling MsiGetComponentState from a custom action, it should be sequenced after CostFinalize. Any earlier and the component state will likely be invalid.
If this is an InstallScript MSI project, the feature functions (such as FeatureGetData or FeatureIsItemSelected) should be used in script events instead of MSI APIs.
If this is an InstallScript MSI project, the feature functions (such as FeatureGetData or FeatureIsItemSelected) should be used in script events instead of MSI APIs.