MsiGetMode(hInstall, MSIRUNMODE_LOGENABLED) always seems to report false, any ideas?

1 Message Forum Options Options
Embed this topic
Permalink
Nick Hunt
MsiGetMode(hInstall, MSIRUNMODE_LOGENABLED) always seems to report false, any ideas?
Reply Threaded MoreMore options
Print post
Permalink
Hi, I'm trying to determine whether msiexec was run with logging on in
one of my custom actions.  The method of using MsiGetMode seemed
pretty straight forward but it is always returning false.
Just to clarify, I am calling the msi with msiexec and the /L option,
and I've determined that the MsiGetMode call is ok since it will
return true for other runmode enums.  The custom action itself is not
explicitly declared as deferred and should be immediate execution.

Are there any gotchas that I might be missing here? Any more  
information required?

I can work around this by setting a property but that would be less  
than ideal in our scenario.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@...
https://lists.sourceforge.net/lists/listinfo/wix-users