问题
I am installing a Windows Service on my Desktop with a particular version. Then I revise my service and make some changes in the service.I upgrade my installer version.I also make the property RemovePreviousVersion true.When I start to Install the upgraded Windows Service, I get the below mentioned Error.
Error:
The specified service already exists .
Stack Trace : At System.Process.ServiceInstaller.Install(IDictionary)at System.Configuration.Install.Installer.Install at WinDbSync1.Project.Install.
来源:https://stackoverflow.com/questions/7538064/installing-higher-versions-of-existing-windows-service-in-vs-2008