cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mystique
Level 5

Debugging Managed Code Custom Action, Does it work?

Can we debug managed code custom action that is integrated into an InstallShield 2010 project? The project typoe that I am working on is InstallScript MSI project. There is no problem for me to do so with C++ custom dll, but I was unable to step through the code with managed dll. What is the difference between the two? Is there a knowledge base article which describes this?

I did put a MessageBox there and had execution stopped for me to attach the Visual Studio debugger to the process. The process that I was attaching to is msiexec which shows the MessageBox. Somehow, break points in my Visual Studio are grayed out and it looks like that debug symbol is not loaded. Therefore I was unable to step through the code.


Thanks for any help on this.
Labels (1)
0 Kudos
(2) Replies
Mystique
Level 5

I am still trying to understand whether I can attach the debugger to a managed code custom action during installation. It looks like that it is running in a different process and I don't know what it is. Please reply if anyone knows how to do so.

Thanks a lot.
0 Kudos
Mystique
Level 5

I have started similar thread on InstallShield 2009. Can anyone help on this

http://community.flexerasoftware.com/showthread.php?t=188667
0 Kudos