To install windows services, open Visual Studio command prompt and write following code
installUtil.exe "Windows Service Path"
To uninstall windows service, write following code.
installUtil.exe -u "Windows Service Path"
You can find installUtil.exe file in Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder.
Thanks
Posted by:
Raja
on: 7/18/2009
Level:Starter | Status: [Member]
Thanks,
This was exactly I was looking fore. Thank you very much for sharing this.
Regards,
Thanks Raja.
My pleasure to help you.
Regards
Please note that if you do not have the path already referred to Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder, you might get error in the command prompt. So make sure that you are into above directory and run the command.
The last folder, version number may vary based on your the .NET version installed on your system.
Thanks