Closed VoidMonk closed 6 years ago
Hi, that is the correct task sequence. The install task will uninstall first unless you uncheck that option in the task configuration.
Thanks, but wouldn't file copy overwrite the service and cause an issue while uninstalling the old service?
If the old service doesn't exist, the uninstall silently succeeds. If the service name matches, the service will be uninstalled anyway. (Uninstalling a service is the equivalent of calling: sc delete, you don't need the binaries to even exist to do this)
Hi, these are a useful set of tasks, but it's not clear as to what the sequence of tasks should be. If I follow the sequence below, then the service won't be uninstalled before file copy.
Ideally, between service stop and file copy, there should be an uninstall service task, or am I misunderstanding the sequence?!
Please clarify.