'Custom Action' Tag

  • DEBUG: Error 2769: Custom Action install did not close 1 MSIHANDLEs.

    December 11, 2008

    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 [...]

  • How to debug Custom Actions in a MSI setup package

    December 10, 2008

    So you have come to the conclusion that you will need to debug your custom action code. 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: [...]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org