I have a simple MSI package project, using WixUtilExtension, which includes
the following line:
    <util:RestartResource ProcessName="RmStreaming.exe"/>

This process is running and was launched by a service, which is the scenario
which causes the problem.

Originally I compiled the msi against the 3.9 RTM and validated that when it
installs it hits the error, and causes the setup to rollback.  For
convenience I am using a simple bundle with a WixStdBA.

I then build the wix source as a debug build, and compile both the msi and
the bundle against the wix debug build tree.  (I also extracted the wixca
binary and compared the file properties with the wixca.dll in the debug\x86
folder and they seem to be identical size.)

But when I run the setup, having set MsiBreak to
"WixRegisterRestartResources", it prompts me to attach to the thread but
does not allow any breakpoint to be set in RestartManager.cpp.  The symbol
manager has the path to the pbd file, and I even included the pdb file in
the binary table, but I can never step into the CA.  Yet the CA runs and
hits the problem and then rolls back the setup.  So it is like it is running
some other version of the dll.  

I am doing this work on a Win 7 x64, with VS2010 and VS2013 (using VS2013). 
The thread that I get prompted to attach to is x86.  (I also tried on Win 8
with windbg installed as the default debugger.) 

It has been several months ago that I developed several C++ CAs for my
project tree.  As I recall it was a simple mater to attach to the CA, set
break points and step through the code (even on a remote test system).   I'm
not sure what the difference is here.  I think one difference is that in
that situation I would open the project in VS and build it with the IDE. 
Here I am building the wix build with the MSBuild scripts.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Debug-delopment-story-tp7597968p7597982.html
Sent from the wix-devs mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to