High-Performance Development - C#, VB, SQL, ASP.NET

Slogan Text

Create Windows Service Installer Project

  1. Select your solution.
  2. Select File\Add\Add New Project.
  3. Expand Other Project Types & Visual Studio Installer.
  4. Select Setup Project.
  5. Enter project name and select Location.
  6. Click OK.
  7. Right-click new setup project and select Add\Project Output...
  8. Select the Windows Service project.
  9. Select Primary Output.
  10. Right-click on the new project and select View\Custom Actions...
  11. For  Each Install, Rollback, and Uninstall.
    1. Right-click and select Add Custom Action...
    2. Select Application Folder and select Primary output from <your service project>.
    3. Click OK.

Install

  1. Build Windows Service project.
  2. Build setup project.
  3. Right-click and select Install.