Installing Windows Service programmatically

后端 未结 4 1622
Happy的楠姐
Happy的楠姐 2020-12-02 06:43

How do I install a Windows Service programmatically without using installutil.exe?

4条回答
  •  有刺的猬
    2020-12-02 07:04

    I install and uninstall my Windows Service via the command line, e.g., MyWindowsService.exe -install and MyWindowsService.exe -uninstall, to avoid using installutil.exe myself. I've written a set of instructions for how to do this here.

提交回复
热议问题