I like to use the AssertSz(FALSE, "debug XxxCA here"); from dutil.h. The
resulting dialog gives lots of information to make it easy to attach.
On Wed, Aug 25, 2010 at 2:00 PM, gapearce wrote:
>
> I found it pretty easy and straightforward using VS2008 to attach to a
> setup
> program awaiting us
I found it pretty easy and straightforward using VS2008 to attach to a setup
program awaiting user input from a message box. It was very easy...
This MSND article touches on it -
http://msdn.microsoft.com/en-us/library/aa368264%28VS.85%29.aspx -
just attach to the process that has your message
I set the environment variable MsiBreak for native code (
http://msdn.microsoft.com/en-us/library/aa368264%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa368264%28VS.85%29.aspx ) and
MMsiBreak for managed code (
http://blog.torresdal.net/2008/10/26/WiXAndDTFDebugAManagedCustomActionAndH
ssage-
From: Christopher Painter [mailto:chr...@deploymentengineering.com]
Sent: Tuesday, August 24, 2010 5:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to debug CustomAction DLL
I think I recall you sometimes have to reboot and/or restart the Ms
If you're developing a custom action (or many), you might save yourself a lot
of time in the future by investing a bit upfront into unit testing your CA.
This would allow you to invoke it from CPPUNIT, assert conditions, and obvious
debug it without message boxes.
There's a post about the appro
g intitial development and almost never need
to debug a custom action later in it's life cycle.
- Original Message
From: Tony Juricic
To: General discussion for Windows Installer XML toolset.
Sent: Tue, August 24, 2010 5:00:47 PM
Subject: Re: [WiX-users] How to debug CustomActio
Good ole' MessageBox is the most reliable way to debug C/C++ CAs that I found.
You may be able to set the breakpoint after the MessageBox and then attach to
the running msiexec process.
-Original Message-
From: little.forest [mailto:little.for...@ymail.com]
Sent: Tuesday, August 24, 20
7 matches
Mail list logo