Windows Service Install Ends in Rollback

前端 未结 6 2046
既然无缘
既然无缘 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:31

    I experienced the same and the issue for me was that a service with the same name was already installed. So in order to install the new service I had to uninstall the older services. I am learning how to create and setup windows services and thus the naming conflicting. Tried uninstalling the service first through:

    c:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil -u servicename.exe
    

    Once this statement executes successfully, install your service and it should succeed without any rollbacks.

提交回复
热议问题