To install a windows service using command prompt

Posted by Jobin under ASP.NET on 7/31/2012 | Points: 10 | Views : 74069 | Status : [Member] | Replies : 5
What are the steps and scripts for installing a windows service using command prompt?




Responses

Posted by: Ogipansrk on: 8/2/2012 [Member] Starter | Points: 25

Up
0
Down
installutil -i "your windows service path here..."

Jobin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajkatie on: 8/2/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Kindly refer following link
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/d8f300e3-6c09-424f-829e-c5fda34c1bc7/

Rajesh Patel
.Net Trainer(MSCD | MCT | MS)
Brainbench (Asp.Net 4.5 and C# 5.0)

Jobin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gaur1982 on: 7/25/2013 [Member] Starter | Points: 25

Up
0
Down
How to Install Windows Service? : http://www.planetofcoders.com/how-to-install-windows-service/

Gaurav Agrawal
http://www.planetofcoders.com/

Jobin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: aswinialuri-19361 on: 7/30/2013 [Member] Starter | Points: 25

Up
0
Down
hi ,
try this to install windows service using command prompt
http://www.aspdotnet-suresh.com/2011/06/how-to-install-windows-service-using.html

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Jobin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ssj_Kumar on: 7/31/2013 [Member] Starter | Points: 25

Up
0
Down
check with below lines

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe C:\YourService.exe



Regards,
Jayakumar Selvakani

Jobin, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response