How to create and install window service on another system
I have created window service on my system and with the help of visual studio command prompt 2010 i have installed it on my system and it is working fine. But now i want to install on another system where i don't have visual studio 2010, i only have .net framework 4.0 on that system hence there is no visual studio command prompt 2010 so how to create setup and deployment so that it should work on that system, if i am not wrong i have to create the setup same as we do for window applications but the question is how to install windows service in order to make it run on another system.

Vijay YadavPosted Jul 14, 2011, 10:17 AM
I have used setup and deployment method and it s working fine now.. Anyway thanks a lot for your reply!!!
Jaganathan BantheswaranPosted Jul 14, 2011, 7:14 AM
Run SC.exe from command line.
Vijay YadavPosted Jul 14, 2011, 7:08 AM
Can you please send me the link to download Service Controller
Vijay YadavPosted Jul 14, 2011, 6:51 AM
I have to do this in command prompt of that system? and as you said i have to download the service controller. right?
Jaganathan BantheswaranPosted Jul 14, 2011, 6:26 AM
Vijay YadavPosted Jul 14, 2011, 3:54 AM
I want to install windows service on client machine. And on that i am going have only .net framework so how to install windows services there?
Jaganathan BantheswaranPosted Jul 14, 2011, 3:42 AM
You can try like,
sc \\computername create yourapp.exe binpath= path\\yourapp.exe type= own start= auto depend= "+TDI Netbios"
Service Controller (SC) you can download freely..