This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Debugging Managed Code Custom Action, Does it work?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 26, 2009
10:11 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 30, 2009
07:32 AM
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.
Thanks a lot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2009
03:42 PM
I have started similar thread on InstallShield 2009. Can anyone help on this
http://community.flexerasoftware.com/showthread.php?t=188667
http://community.flexerasoftware.com/showthread.php?t=188667