Click here to Skip to main content
15,742,619 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys!

I have written a windows service in .Net 3.5,in development environment i used to register and install the service with visual studio command prompt
Installutil /i "Path"

but in test machine how to register the service as we do not have visual studio command prompt ,we just have .net framework 3.5.

Please advise...

Vikas Mishra

1 solution

Windows Services are special, because they are hosted by the Service Controller and need to be installed in a special way. You need to develop your Windows Service application in a special way to make it installable. If you do it, you can make it a self-installed application or use an install utility.

Please see this walk-throw MSDN page:[^].

On using install utility:[^].

Share this answer
VJ Reddy 16-May-12 11:50am    
Good answer with references to study. 5!
Sergey Alexandrovich Kryukov 16-May-12 12:07pm    
Will need pretty extensive study to put all pieces together.
Thank you, VJ.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900