I am learning to use wix and have come across an issue that doesn't seem to
make sense to me.

 

I have created 2 CustomActions one in c++ and one in c#.  (Purely for
experimental purposes)

 

Both CAs simply contain a MessageBox. (To prove they are being called).  And
both are called correctly.  The difference between the two is I can trace
the C++ one but not the C# one.

 

I use attach to process in both cases, but the c# one does not recognize its
PDB.

 

Here is what I have tried so far:

-          Used MSIBreak, nothing happens. But found posts of this issue
with Windows 7 not working very well

-          Tried this too, which should be the proper way to do this but I
get nothing.

Record record = new Record(2);

record[0] = "[1]";

record[1] = "My MSI Message";

session.Message(InstallMessage.Info, record); 

 

I have searched without any success, I am convinced this is something
obvious I am not seeing.  How do you attach to a process to be able to trace
a c# CA.  

My message box according to the debugger is running through Run32dll as
expected.

 

Thanks for the advice

Marc

 

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to