how to self-update a windows service

  • Thread starter Thread starter Dan Holmes
  • Start date Start date
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?
 
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! |
*******************************************
 
Back
Top