I am trying to update a windows service coded in C#. In the installer, I've made sure to: - DetectNewerInstalledVersion : true - RemovePreviousVersions: true - Updated version in both the installer and the assembly file of the service itself.
I stop my running service before trying to reinstall it. Nonetheless, when I run the installer (or using the default installutil), it says "Error 1001. The specified service already exists." <-- Shouldn't it update it then (as specified in the install settings)?
** THE GOAL IS TO AVOID HAVING TO MANUALLY UNINSTALL THE SERVICE EACH TIME I MAKE A CHANGE TO ITS CODE **
Any help will be much appreciated!