这篇文章记录了用VS创建Windows Service详细步骤。Summary as follow:

1. Add Windows Service

2. Click Service

3. Add Installer

4. Setup StartType or ServiceName in ServiceInstaller

5. Setup Account in ServiceProcessInstaller

6. Create Visual Studio Installer project

7. right-click Setup -> Add -> Project Output

8. Select Service project and Primary Output

9. right-click the setup project -> View -> Custom Actions

10. Add Custom Action -> Application Folder -> Primary Outputt -> OK

11. Build -> right-click setup project -> install

相关文章:

  • 2022-02-26
  • 2022-12-23
  • 2021-11-20
  • 2021-08-25
  • 2021-08-28
  • 2021-05-15
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-07-12
  • 2021-07-13
相关资源
相似解决方案