To install your service manually
- On the Windows Start menu, choose Visual Studio 2010, Visual Studio Tools, Visual Studio Command Prompt (2010).
A Visual Studiocommand prompt appears.
- Access the directory in which your project's compiled executable file is located.
- Run InstallUtil.exe from the command prompt with your project's output as a parameter. Enter the following command.
installutil yourproject.exe
To Uninstall your service manually
- On the Windows Start menu, choose Visual Studio 2010, Visual Studio Tools, Visual Studio Command Prompt (2010).
- A Visual Studiocommand prompt appears.
- Run InstallUtil.exe from the command prompt with your project's output as a parameter. Enter the following command:
installutil /u yourproject.exe
No comments:
Post a Comment