Deploying an UPDATEABLE Windows Service with Settings Program

I am trying to determine the best way to accomplish the following:
     I have a windows service and a settings program for this service.

I need to be able to do the following:
     With one installer service, install the service, and the settings program for the service, add it to the start menu, and create an icon on the task bar.
     The toughest part, is that I would like this set of programs to be updateable, and if possible, have the updates automatically checked for and downloaded, and the possibility to roll back an update.

This is an in-house set of programs that is rolled out to multiple servers, so the cheaper the solution, the better.
sjamal_hsjAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SriVaddadiCommented:
Update must be available at a particular location so that it could be downloaded on to the server. Lets say your update is available on "Serv1"

1. You could poll to the Serv1 from your windows service and check the time stamp of the application and download it as required.

2. Run a service on Serv1 and when an update is available, the service should publish an event and all subscribers get the message and they could download the latest update.

IOW solution could be

1. Polling model
2. Publish - Subscriber model
0
-eVe-Commented:
Most of this is handled by "ClickOnce". It is not well supported by "other" browsers but 've used it for almost two years now and I like it. Just don't publish your updates with VS 2010 Beta2... or any other beta.
0
sjamal_hsjAuthor Commented:
Clickonce cannot be used to publish a service. Also, do you have a sample of this polling model. Also, what method do I need to use for the install?

Thanks
0
-eVe-Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SriVaddadiCommented:
If you are talking about installing windows service then you are supposed to use installutil tool to install and uninstall windows service.

You should be making a remote call to your windows service. You could use WCF service and host it in windows service or you could even use .net remoting
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.