MsiGetFeatureState(hMSI, "EasyDTS", intCurrentState, intActionState);
if (intActionState = 2) then
Installscript stuff;
endif;
I never enter the loop. The value of intActionState has been 1393980, 1393860, 1300592, 1300472, not the 2 that it should be for uninstallation.
Any suggestions?