Setup windows service

  • Thread starter =?iso-8859-1?B?UmVu6SBKZW5zZW4=?=
  • Start date
?

=?iso-8859-1?B?UmVu6SBKZW5zZW4=?=

Hi

I have 2 questions about distribution of windows services.

1: How do you perform a click once on a windows service, so that I can
be updated on a regular basis? I can only find out how to distribute
the service by using a installer. So when I need to update I have to
uninstall and reinstall?

2: How do you make the installer setup up restart parameters for the
service (those where you say 1st time it crashes then do this, 2nd
time do this, etc? I have found one guide that requires loads of API
calls; sure it should be possible using managed code?

Thanks in advance

René Jensen
 
T

Trevor Benedict

See if this sample helps.

http://www.codeproject.com/vb/net/WindowsServiceInstall.asp

Regards,

Trevor Benedict
MCSD

Hi

I have 2 questions about distribution of windows services.

1: How do you perform a click once on a windows service, so that I can
be updated on a regular basis? I can only find out how to distribute
the service by using a installer. So when I need to update I have to
uninstall and reinstall?

2: How do you make the installer setup up restart parameters for the
service (those where you say 1st time it crashes then do this, 2nd
time do this, etc? I have found one guide that requires loads of API
calls; sure it should be possible using managed code?

Thanks in advance

René Jensen
 

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

Top