upgrading windows service using inno setup

Posted by ofer on Stack Overflow See other posts from Stack Overflow or by ofer
Published on 2010-03-16T18:18:32Z Indexed on 2010/03/16 18:21 UTC
Read the original article Hit count: 408

Filed under:
|

Hi,

I've created a basic windows service installation using Inno Setup. both install and uninstall works properly.

However, I'm having issues with upgrading the service executable. it is needed to stop the service, and only ofter the service is completly stopped- the new executables should be placed in the target folder.

how can I execute a service-stop command and wait for the service to actually stopped before the file copy step is initiate?

thanks!

© Stack Overflow or respective owner

Related posts about inno-setup

Related posts about innose