I have a windows service that is already installed on a server, and I have a new version of the executable and linked assemblies. The normal procedure I use for installation of a new version is:
- Stop the service
- Uninstall the service using
InstallUtil /u
- Overwrite the service executable and linked assemblies with the new ones
- Install the service using
InstallUtil
- Start the service
I'm wondering if I'm doing too much? Is there any problem with just doing the following:
- Stop the service
- Overwrite the service executable and linked assemblies with the new ones
- Start the service
I don't think that uninstalling/installing is necessary but couldn't find any formal confirmation.