Lon
Posts: 10
Joined: Fri Jun 15, 2007 9:08 pm
Location: Virginia USA

debugging custom actions on vista

My custom action is written in C++ and includes a simple logger module with three outputs: (1) writes to a simple flat file, (2) one writes to stdout, and (3) the third writes to MsiProcessMessage() with entries in the installer log file. All these methods work fine on every windows platform accept Vista. On vista, I only get the Msi messages and none of my own - any suggestions?

Thanks
Lon
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

The problem is in the code you are using. You should try to debug it using the "DebugBreak" function
http://msdn2.microsoft.com/en-us/library/ms679297.aspx

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”