I found it very easy to debug a DLL CA with the debugger:

I figured the DLL in the binary table has to be extracted before the code
can be called, right? So the following seemed to work for me to debug an
error I was getting while developing the CA:

1)       Use a debug version of the DLL

2)       Copy the .pdb file to C:\WINDOWS\Installer (hidden/system folder) -
since it seems where the DLL gets extracted as a temp file during
installation.

3)       Attach the debugger to msiexec.exe. When I tried there were three
instances running, but since my CA had 'no impersonate' it was easy, I could
pick the one running as SYSTEM rather than as the installing user.

 

Daryn

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Stevenson
Sent: Tuesday, July 17, 2007 3:58 PM
To: srinivas nomu; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to call an exe

<snip/>

you can debug MSI DLLs - just not via the debugger (albeit maybe you can, as
the links below made mention of info in MSI.chm, but I believe it is meant
to be a lot of effort). 

<snip/>

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of srinivas nomu
Sent: Wednesday, 18 July 2007 7:33 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to call an exe

I really fed up working with .dll as there is no debug available. Now I
created an .exe with the same code. 

 

 <snip> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to