A simple solution that I use is to merely stop the service and x-copy the files from my bin folder into the service folder.

A batch file to stop the service then copy the files should be easy to throw together.

Net stop myService
xcopy \\myServerWithFiles\*.* c:\WhereverTheServiceFilesAre
net start myService

http://stackoverflow.com/questions/3964354/c-sharp-clickonce-deployment-for-windows-services

相关文章:

  • 2021-05-17
  • 2022-12-23
  • 2021-11-04
  • 2021-04-19
  • 2021-05-26
猜你喜欢
  • 2021-09-10
  • 2021-11-19
  • 2021-06-27
  • 2021-04-18
相关资源
相似解决方案