当我尝试安装Windows服务时:
C:\ WINDOWS\Microsoft.NET\Framework64\v4.0.30319\installutil
我得到了,看起来是什么,一些成功的消息和一些失败的消息.部分向下:
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The specified service has been marked for deletion
Run Code Online (Sandbox Code Playgroud)
在末尾:
The Rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been performed.
Run Code Online (Sandbox Code Playgroud)
该服务在"服务"小程序中有一个条目,但它被标记为"已禁用".当我尝试将其更改为其他状态时,我收到"标记为删除"错误消息.
事件日志中没有消息.在installutil.exe创建的日志文件中没有任何用处(我相信它已写入当前工作目录).
我没有方向去做这件事.我该怎么办?