How to reinstall Windows Service using installutil

2019-08-21 17:07发布

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条回答
走好不送
2楼-- · 2019-08-21 18:03

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.

查看更多
登录 后发表回答