How to debug Custom Actions in a MSI setup package

So you have come to the conclusion that you will need to debug custom actions in a MSI setup package?. How do you do it? Well, it’s very simple, just add the following line in your custom action code:

Debugger.Break();

And now when you launch the MSI package, it will break and prompt you with the following dialog:

Choose debugger

Just select the desired debugging environment and start debugging. It’s as simple as that!

3 thoughts on “How to debug Custom Actions in a MSI setup package

Leave a Reply

Your email address will not be published. Required fields are marked *