Can't uninstall a service developed in Visual Studio -
I have a visual studio project that includes a service and installer. During the development, I have installed and uninstalled MSI-package for at least fifty times, but the last time I tried to uninstall it, I got an error message, "Installed product does not match installation source" and if I But click on the "OK" message I get the following: "Path xxxxxx.msi can not be found." So, first it does not match and can not be found again. or something else. MSI-package is present on the path given in the error message (I have replaced the actual path and package name by xxxxx).
By installing the service, what do I mean by double clicking on the MSI-package creates a "build solution" function and by uninstalling I mean Control Panel -> Add or Remove Programs.
I use Windows XP and Visual Studio 2003 in this special project.
I have installed it and uninstalled it and other visual studios have been developed hundreds of times or thousands of times but this has never happened before.
P> What should I do?
I have seen this before, essentially the installer (.msi) wants to use windows not available Is where it believes it should be stored. I am not completely sure why this happens but you have some options to fix it.
- Put your MSI in the place where looking for windows
- Remove your product entry from the MSI Catalog. This option is a bit risky because it is actually uninstalling it by removing all references to your service. Although the risk is low if it is a service developed by you and it is only your god machine
Comments
Post a Comment