Question 151. How To Install Or Uninstall A Windows Service?
For Install:- 1)Go to visual Studio command prompt (Start => All programs => Microsoft Visual Studio 2005 => Visual Studio Tools => Visual Studio 2005 Command Prompt) 2)installutil <Path of your Service> (e.g installutil C:\MyService.exe) For UN Install:- 3)Go to visual Studio command prompt (Start => All programs => Microsoft Visual Studio 2005 => Visual Studio Tools => Visual Studio 2005 Command Prompt) 4)installutil -U <Path of your Service> (e.g installutil -U C:\MyService.exe)