Auto update a windows service

E

Eric Keij

Hello,

I have written a windows service in .NET which i want update. Is there an
easy way to let a windows service update itself?
I've written some test programs with the AppUpdater component and this is
working perfect for 'normal' programs but can't be used for services. Maybe
it's possible to write some modifications to the AppUpdater component to
find the latest version and manually start the service??
Anybody aware of some methods to automatically update a service?

Thanks in advance!

Eric
 
P

Patrik Löwendahl [C# MVP]

You would have to fire up an external program which could:
1) Stop the service
2) Un-Install the service
3) Download the new service
4) Install the new service
5) Start the new service
 

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