Batch Script to Install or Uninstall a .NET Windows Service

后端 未结 10 1548
我在风中等你
我在风中等你 2021-01-31 05:13

I have no experience writing batch scripts, but I was wondering if there was a way to install a .NET Windows service using installutil.exe using such a script, or u

10条回答
  •  囚心锁ツ
    2021-01-31 05:48

    create a file with .bat extension and place this in the file

    installutil -u c:\YourServiceLocation\Service.exe

提交回复
热议问题