You may have seen this strange error when trying to install your MSI when you have developed a managed custom action DLL in Visual Studio 2005 / 2008? If you execute the MSI with detailed logging, like this: MSIEXEC /i "<YOURMSI>.msi" /L*v "InstallLog.txt" You end up with an error message that is similar to this [...]
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 [...]