locked
How to remote update a windows service? RRS feed

  • Question

  • I want to script out the deployment of an update to a windows service I am working on.

    I can remotely start/stop the service with the "sc" command, but can I simply copy over the exe and then start it back up?  Or do I have to use the Instalutill /u command? or use the service installer?

    Wednesday, March 20, 2013 12:36 AM

Answers

  • Hi shiftbit,

    Welcome to the MSDN Forum.

    Please use the command Instalutill. The service is not the same with general executable.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Mike Feng Wednesday, April 3, 2013 4:33 PM
    Wednesday, March 20, 2013 2:14 PM