WIX - Cannot uninstall an MSI package
I created an WIX Installer (using WIX 3.6) which ran perfectly fine. I am "installing" website on IIS and deploying DB using VSDBCMD command custom action. The DB custom action is the one creating the problem during uninstall. It shouldnt run actually during unistall and now during uninstall its failing with Error - "Removal success or error status: 1603." (From the Application L开发者_JAVA百科og)
So I now have 2 questions -> 1. How do I instruct WIX not to run the custom action during uninstallation? 2. How do I uninstall the remains of the earlier MSI. Any manual ways to do so?
Thanks in advance!
I ran into a similar issue where I could not get an MSI package to uninstall downloading and running the Fixit application from Microsoft uninstalled it for me. You can download it at http://support.microsoft.com/mats/Program_Install_and_Uninstall
How do I instruct WIX not to run the custom action during uninstallation
To run a custom action only during install you can set this condition for it:
NOT Installed
How do I uninstall the remains of the earlier MSI. Any manual ways to do so?
To automatically remove older MSI installations, you can use the Upgrade element with your old MSI UpgradeCode. If you just want to cleanup some leftover files, you can try using a custom action.
精彩评论