::MsiProcessMessage() doesn't work when your action gets called from a button
click. I don't know where or even if that is documented.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dB.
Sent: Tuesday, April 15, 2008 17:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Why doesn't logging from an immediate custom action work?
I have a custom action that I am running within the UI sequence (immediate,
user clicks on a button, custom action runs). Logging isn't working from it! I
can log without any problems when the same custom action runs deferred.
It's not the first time I see this. Any ideas? The code is straightforward...
MsiHandle hRec(MsiCreateRecord(3));
MsiRecordSetString(hRec, 0, L"[1]: [2]");
MsiRecordSetString(hRec, 1, action.c_str());
MsiRecordSetString(hRec, 2, message.c_str());
MsiProcessMessage(_h, INSTALLMESSAGE(INSTALLMESSAGE_INFO), hRec);
Thx
dB.
PS: I've been using this list a lot lately... someone please tell me if you're
tired of my e-mails :)
-dB.
dblock.org<http://www.dblock.org/> / foodcandy.com<http://www.foodcandy.com/>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users