Learning lessons all day today it seems. Pretty sure I’ve learned these in the past…so obviously I’m not doing as well as I thought.
- When you write an MSI custom action that depends on stuff being there, make sure your custom action conditions are such that it doesn’t fire on an uninstall operation.
- Somewhat related: Don’t do your installer development testing on your workstation. It’s pretty much exactly what a throw-away virtual machine is for.
So here I am, trying to use MSIZap to clean up my workstation because I can’t uninstall a damn application.
[1] http://msdn.microsoft.com/en-us/library/aa370523%28v=vs.85%29.aspx