【发布时间】:2011-12-05 19:42:49
【问题描述】:
我正在编写一个 C# windows 服务,我可以在 Visual Studio 中安装和卸载,但我不确定我在代码中做了什么并且把事情搞砸了。现在当我尝试安装时,我收到错误 1001:
The specified service already exists.
但是当我尝试卸载时,它给了我:
Another program is being installed. Please wait until that installation is complete, and then try installing this software again.
我确实看到我的服务仍在服务中列出。我应该怎么做才能解决这个问题?
【问题讨论】:
标签: service windows-services installation