11/5/09

Installing and Uninstalling Services

1. Open a Visual Studio Command prompt and change directory to where your project's compiled executable file is located.
2. Run InstallUtil.exe from the command line with your project's output as a parameter:

> installutil yourproject.exe

To uninstall your service manually

1.Run InstallUtil.exe from the command line with your project's output as a parameter. Enter the following code on the command line:

> installutil /u yourproject.exe


1 comment: