Hi All,
I am using window service, in which i have to install it using installutil in VS 2010 command prompt.
Is there any so that i can insatll it through code and also want to satrt the services automatically rather than going in services and application and start the service by right-click.
Any idea regarding this, please help!
Window service: automatically install and start
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Soft CornerRank #1,221 · 1.5K reputationPosted Apr 30, 2011, 1:04 AM EDT
For installing service thro' code refer this article :
Installing a Service Programmatically
For specifying startup type for service : Specifying Manual or Automatic Starting for a Service