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

前端 未结 5 1522
广开言路
广开言路 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

    Have you considered using a different MSI authoring tool such as Windows Installer XML? The advantage is it doesn't hide Windows Installer's underlying ServiceInstall / ServiceControl panels saving you from the pain of reinventing the wheel with fragile out of process InstallUtil code.

提交回复
热议问题