How to create an installer for a .net Windows Service using Visual Studio

前端 未结 5 1184
天涯浪人
天涯浪人 2020-12-04 04:23

How do I create an installer for a Windows Service that I have created using Visual Studio?

5条回答
  •  时光说笑
    2020-12-04 05:05

    For VS2017 you will need to add the "Microsoft Visual Studio 2017 Installer Projects" VS extension. This will give you additional Visual Studio Installer project templates. https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects#overview

    To install the windows service you can add a new setup wizard type project and follow the steps from Kelsey's answer https://stackoverflow.com/a/9021107/1040040

提交回复
热议问题