How to reinstall Windows Service using installutil after making changes in code

不想你离开。 提交于 2019-12-12 04:36:39

问题


I wrote a test Windows service and installed it using installutil which went fine.

After that I made changes in my code and tried to install again but got error. Do I need to remove the service first, then install again using installutil? Or is there other way?


回答1:


If the name of executable is the same then you can simply stop the Windows service, copy new files on top of the old ones and start the service.



来源:https://stackoverflow.com/questions/26561524/how-to-reinstall-windows-service-using-installutil-after-making-changes-in-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!