how to self-update a windows service

D

Dan Holmes

I have a service running on many workstations. I can communicate with the service via TCP. I can send a new version of
the exe to the client but how do i cause the service to restart and copy the new file over the existing one?
 
G

Gregory A. Beamer

I have a service running on many workstations. I can communicate with
the service via TCP. I can send a new version of the exe to the
client but how do i cause the service to restart and copy the new file
over the existing one?

Clients on your network? I would consider using one of the domain tools
to deploy it (contact your networking guys). I am not a networking guy,
but I know items can be sent to clients and force installed, that
services can be stopped and started, etc.

You can also do this through an installer, but you still have to get the
installer run, which returns you to advice #1.

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

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