Windows Service Install Ends in Rollback

前端 未结 6 2056
既然无缘
既然无缘 2021-02-03 19:10

When I try to install a Windows service:

c:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\installutil

I get, what looks to be, some success messages and som

6条回答
  •  广开言路
    2021-02-03 19:24

    Right Click on Command Prompt and choose RUN AS ADMINISTRATOR
    Then copy and paste in: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe C:\TestService\bin\Debug\TestService.exe

    Result in TestService.InstallLog is:

    Installing service TestService...
    Service TestService has been successfully installed.
    

提交回复
热议问题