简体   繁体   中英

Installing a service on Windows Server

I am managing the installation of our product to be installed on our clients servers. The installation includes an application that is a service and I am installing that service with the command line through the installer.

The question is, when I install a new version of the application, the uninstall process I believe shuts down the service so it can remove the EXE for it. Do I have to UNINSTALL and REINSTALL the service, or do I need to just install the new application and just start the service as the new EXE for the service will be replaced?

You do not need to UNINSTALL it, but you do need to STOP it if it is running, so that the lock on the EXE is released. Once EXE is updated - you can START the service.

只要服务未运行,您就应该能够更新任何需要的文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM