469,612 Members | 2,155 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

Auto update a windows service

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
Nov 22 '05 #1
1 4278
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

--
Patrik Löwendahl [C# MVP]
www.cshrp.net - "Elegant code by witty programmers"
"Eric Keij" <do*******@hotmail.com> wrote in message
news:41***********************@news.xs4all.nl...
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

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by joo | last post: by
1 post views Thread by Eric Keij | last post: by
reply views Thread by Peter Bourget | last post: by
3 posts views Thread by DaveF | last post: by
4 posts views Thread by =?Utf-8?B?TWFyaw==?= | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.