Hi,
I have a reasonably simple installer. It copies some files (exe's and dll's) into a folder and then installs two services. One of the services uses one or more of the dlls that get installed.
On performing an upgrade I would like to stop the services, update all files, and then restart the services. Occasionally I get some of the files not being updated correctly - I presume because they are still in use by one of the services when the installer tries to update them?
I have Service Control Operations for both services as follows:
On Install: Start, Stop
On Uninstall: Stop, Delete
Is this correct? Because the help does not really describe when in relation to other events the services get started/stopped.
Thanks
Colin
FOLLOW US
Get the latest news in Application Packaging