Daniel Doubrovkine bio photo

Daniel Doubrovkine

aka dB., CTO at artsy.net, fun at playplay.io, NYC

Email Twitter LinkedIn Github

Something that has always frustrated me: Why doesn’t logging from an immediate custom action work?. Christopher Painter pointed out a documented (!) answer.

http://msdn2.microsoft.com/en-us/library/aa368322(VS.85).aspx

“Note that custom actions launched by a DoAction ControlEvent can send a message with the Message method, but cannot send a message with MsiProcessMessage. On systems prior to Windows Server 2003, custom actions launched by a DoAction ControlEvent cannot send messages with MsiProcessMessage or Message. For more information, see Sending Messages to Windows Installer Using MsiProcessMessage.”