Before upgrading or uninstalling a program, it’s generally a good idea to stop it’s services before doing so.
So i did that using services.msc, and run the uninstaller. However, the installer said that he was unable to remove the service, and a reboot was required. I didn’t really feel like rebooting, i had a look at the registry. The service was still there, and it was still visible in services.msc, but i was unable to start it – the error message said “The specified service has been marked for deletion”.
I tried “sc delete name“, but i got the same error message: “The specified service has been marked for deletion”.
After that, i closed the services.msc window. Now, the service was no longer installed, and after restarting services.msc, it was no longer visible. I ran the installer again, with services.msc closed – it was now able to finish installing the application and it’s associated services.
So what did i learn?
Always close services.msc when installing or upgrading programs!