Showing posts with label Windows Services. Show all posts
Showing posts with label Windows Services. Show all posts

Thursday, May 3, 2007

Installing a Windows Service

Background

A few weeks ago I wrote a brief entry on Lewis Moten's Visual SourceSafe Journal Monitor. This tool runs as a windows service, polling the specified journal.txt every few minutes and updating a data source with the latest VSS changes.

This got me interested in windows services in general and how you set them up using VS.NET. Here is a link to another CodeProject article focusing on setting up a Windows Service project. It details:

  1. How to set up and build a simple Windows Service project.
  2. How to create a setup package (.msi) to install the Windows service.

I work for an organization where the administrators will not accept an .msi package. They want more visibility into what exactly you are trying to do to their production machines, since they are ultimately responsible for keeping them up and running.

Here's how you can install/uninstall a windows service .exe using VBScript .