cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tomerdr
Level 6

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
Labels (1)
0 Kudos
(1) Reply
tomerdr
Level 6

too soon to call i guess,if i add a cutsom action after InstallInitalize i get the expected results.
0 Kudos