如何进行无人值守部署 [英] How to do unattended deployment

查看:106
本文介绍了如何进行无人值守部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



每当我发布产品的新版本时,我需要为每个客户在大约300个客户端上安装该产品.有什么办法可以自动化
a)以前的客户端删除
b)新客户端安装

Hi,

Whenever I do a new release of my product, I need to install the same on around 300 clients for each customer. Is there any way to automate
a) previous client removal
b) new client installation

推荐答案

您需要自动更新"您的产品.
解决方案:
1)使用ClickOnce部署产品.它允许您自动更新软件.
2)使用更新程序应用程序块".您可以在Microsoft模式和实践中找到文档. ClickOnce是基于此开发的.当源代码可用时,它为您提供了更大的灵活性,并且您可以选择对其进行扩展.但是Microsoft对此不再提供任何支持.
3)为此已经开发了许多第三方解决方案.您可以在Google/Bing中搜索自动更新应用程序".

希望这会有所帮助!
Ankur
You need to ''auto update'' your product.
Solution:
1) Deploy the product using ClickOnce. It allows you to automatically update the software.
2) Use ''Updater Application Block''. You can find the documentation in Microsoft Patterns and Practices. ClickOnce was developed based on this. It provides you more flexibility as the source code is available and you have the option to extend it. But Microsoft do not provide any more support for this.
3) Many 3rd party solutions have been developed for this. You may search Google/Bing for ''automatic update application''.

Hope this helps!
Ankur


查看安装程序类: http://msdn.microsoft.com/en-us/library/557k6x73(v = VS.100).aspx [
Look at the installer class: http://msdn.microsoft.com/en-us/library/557k6x73(v=VS.100).aspx[^]

You need to override uninstall and put your logic.

You need to check first if the product is already installed, un-install it and then install the new one. It can be done by the installer you are making. One need not have a manual intervention to do it.


这篇关于如何进行无人值守部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆