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
- :
- MsiGetFeatureState with unselected feature?!?!
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
Sep 18, 2008
10:49 AM
MsiGetFeatureState with unselected feature?!?!
Following is part of my OnFirstUIBefore() function
nResult = SdFeatureTree(szTitle, szMsg, INSTALLDIR, "", 2);
:
:
nResult=MsiGetFeatureState(ISMSI_HANDLE,"DefaultFeature",nstate,naction);
Although i unchecked the deafult feature i get the following
nstate=INSTALLSTATE_ABSENT (which is ok)
naction=INSTALLSTATE_LOCAL!!! Feature will be installed?!!?
Why?!?
Thanks in advance
nResult = SdFeatureTree(szTitle, szMsg, INSTALLDIR, "", 2);
:
:
nResult=MsiGetFeatureState(ISMSI_HANDLE,"DefaultFeature",nstate,naction);
Although i unchecked the deafult feature i get the following
nstate=INSTALLSTATE_ABSENT (which is ok)
naction=INSTALLSTATE_LOCAL!!! Feature will be installed?!!?
Why?!?
Thanks in advance
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 18, 2008
11:06 AM
too soon to call i guess,if i add a cutsom action after InstallInitalize i get the expected results.