Installing/Uninstalling Services in Windows 7: “Error 1001. The specified service has been marked for deletion”

前端 未结 5 1523
广开言路
广开言路 2021-02-03 23:26

I am currently developing a Windows Service in .NET 4.0, Visual Studio 2010, Windows 7-32bit. I have an installer project that does the installation for me. When I install the s

5条回答
  •  借酒劲吻你
    2021-02-04 00:04

    I had the same issue with my windows service on my deployment server.

    Steps to solve problem:

    • Go to install/uninstall wizard in windows
    • Click on repair (which will fire custom action of setup)
    • After repair try to uninstall that windows service
    • it will uninstall perfectly

    Hope this will work for you.

提交回复
热议问题