码迷,mamicode.com
首页 > Windows程序 > 详细

C# ClickOnce deployment for Windows Services ClickOnce 部署windows service

时间:2014-06-27 00:43:40      阅读:500      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   http   tar   

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

C# ClickOnce deployment for Windows Services ClickOnce 部署windows service,布布扣,bubuko.com

C# ClickOnce deployment for Windows Services ClickOnce 部署windows service

标签:style   class   blog   code   http   tar   

原文地址:http://www.cnblogs.com/Googler/p/3807521.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!