Home All Groups Group Topic Archive Search About

Creating self-installing service

Author
20 May 2006 5:17 PM
Paulers
Hello all,

Can someone point me in the right direction to some information that
will guide me in the creation of a self-installing service? I have a
service that I created using vb.net and it works fine with installutil
however, I would like to manipulate it from a form. for example, I
would like to install, uninstall, start, and stop it from a form. Any
help is greatly appreciated.

thanks!

Author
20 May 2006 11:44 PM
Cerebrus
Hi Paulers,

Till now, I have seen no other way to install / uninstall a Win service
unless you use either InstallUtil.exe or a setup project.

However, starting & stopping a Win service are no big deal. You can use
the Start and Stop methods of the ServiceController class to do just
that.

HTH,

Regards,

Cerebrus.
Author
22 May 2006 2:16 PM
Chris Dunaway
Try this link. 

http://tinyurl.com/lyxuz