I don't think that API is on the allowed list to be called from a 
deferred CA. You need to pass data from the immediate mode to the 
deferred CA using CustomActionData as per the MSI SDK.

John Daintree wrote:
> Hello all,
>
> I have a custom action defined as:
>
> <CustomAction Id="InstallPreloadIME" Impersonate="no" Return="ignore" 
> Execute="deferred" BinaryKey="instdll12.dll" DllEntry="InstallPreloadIME" />
>
> It needs to modify HKLM and so has Impersonate="no" and Execute="deferred" 
> which is what I understand is neccesary. (I'm running this on Vista under 
> UAC).
>
> The custom action uses:
>
>  MsiGetFeatureState(hInstall,layout->feature,&Installed,&Action);
>
> to find the state of a number of features. However Action (and Installed) is 
> always coming back as INSTALLSTATE_BROKEN. What does this mean? Could I have 
> a sequencing issue? I'm a little stumped.
>
> I'm running this on a Vista64 VM, so I'm confident that the machine state is 
> clean before the install is run.
>
> Thanks,
>
> John.
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to