Creating self-installing service

  • Thread starter Thread starter Paulers
  • Start date Start date
P

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!
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top