The installed product does not match the installation source error when uninstalling the Windows service

when I try to remove the Windows service from the control panel, I get the error message "the installed product does not match the installation source (s), until the appropriate source is provided or the synchronized product and source are installed, this action cannot be performed." I actually have the MSI source file, but I changed some settings in the configuration file (where it is installed) after installation, so that could cause it, how can I delete it now?

+7
source share
1 answer

The MSI that you consider the original is probably not true. It looks like you are in a situation where PackageCode (GUID) A is installed, and now you have the MSI with PackageCode B.

Take MSI from you and run the following command:

MsiExec.exe /I foo.msi REINSTALLMODE=voums REINSTALL=ALL 

This will be the MSI "recache" with the updated package. Then you can delete them either using the "Delete Programs" program ("Programs and Features"), or using the command

 MsiExec.exe /X foo.msi 
+21
source

All Articles