cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
deskny
Level 3

Debug managed custom action

I use IS2009 Premier and run a managed custom action from the sample. It works properly, but I faced with a strange problem - I'm unabled to debug it.
I run setup with paramater -deleter -d, attach process while CA messagebox is showing - all in vain 😞
I tried to debug unmanaged CA (standard C++ library) - attach to process and it works - I stop at my breakpoint!
So I can't debug only managed CA.

Now I dont know what else i can do.
What am I wrong?
What should I do to make it works?
Is there a way to debug managed custom action?
Labels (1)
0 Kudos
(2) Replies
ricko2001
Level 3

I am having the same problem debugging C# custom action (immediate mode).


Please help.
0 Kudos
deskny
Level 3

I found an interesting words in the discussion of competition product (DTF for WiX) - "InstallShield also has support for managed Custom Actions in their 2009 version, but they have a different solution where debugging is not possible.".
Link for the article http://www.infoq.com/news/2009/02/WiX30.
Later I read the same thing in the other articles about DTF.

So my conclusion is there is no way to debug managed custom action in IS.
I started to use DTF and now I'm satisfied.
0 Kudos