I installed my web application via an msi. When I try to unistall the application via add/remove programmes an exception occurs during the uninstall and the uninstall never completes. Is there any way I can get my application uninstalled or work around for this?
Does your setup have any custom actions? If you specified to check error code this could trigger rollback of both install and uninstall.
Does the uninstall actually complete, or does it roll back leaving the application still installed?
In cases where an uninstall fails for a product that is in the wild, the solution is normally to develop a minor update for the MSI and deliver it as a patch. A minor update actually changes the cached installation database on the system and hence you are able to fix any errors in the uninstall sequence. Then you run the normal uninstall sequence afterwards. This is as opposed to a major upgrade which is essentially an uninstall of the existing product and a reinstall. Creating such a patch is quite a bit of work, and fairly complicated. If the application isn't "in the wild" I normally end up zapping the installation using MsiZap.exe from the MSI SDK and then resolve the errors in the MSI before testing again.