是否有可能自动执行ClickOnce部署? [英] Is it possible to automate a ClickOnce deployment?

查看:317
本文介绍了是否有可能自动执行ClickOnce部署?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作由一个服务器和经由的ClickOnce部署了一个客户机应用程序的一个项目。 在客户端安装在第一次的用户点击的http://...file.application 的链路,而与用户的交互在安装过程中是最小的(只是标准的ClickOnce安装/不安装对话框)。

I work on a project consisting of a server and a client application deployed via ClickOnce. The client is installed the first time an user clicks a http://...file.application link, and the interaction with the user during installation are minimal (just the standard ClickOnce install/don't install dialog box).

我们的一个客户机希望能够自动对用户的机器上的客户机的安装。有没有一种方法来安装无需任何用户交互的ClickOnce应用程序,以自动化部署过程?

One of our client wants to be able to automate the installation of the client on the users' machines. Is there a way to install the ClickOnce application without any user interaction, in order to automate the deployment process ?

难道一个软件,提供这种部署是否存在?

Does a software providing this kind of deployment exist ?

我的问题来自于一个事实,我不知道ClickOnce部署引擎盖下是如何工作的(我甚至不知道是否有可能在命令行中运行的ClickOnce安装...),并作为的ClickOnce应用程序未打包都不像Windows安装程序,我不知道任何事情。

My problem comes from the fact I don't know how the ClickOnce deployment works under the hood (I don't even know if it is possible to run an ClickOnce installer from the command line...), and as clickonce application are not packaged at all like Windows Installer, I am not sure of anything.

有关这方面的消息表示欢迎。

Any information about this is welcome.

推荐答案

有许多可用的自动部署第三方解决方案。你也可以创建自己的脚本,但你需要调用其中的一些方法。如果您的客户端的机器配置为查找所处的网络启动脚本,那么这将是一个理想的方法。通常情况下,自动化部署与标准部署包,即包含SETUP.EXE和所需文件的工作,所以这很可能是打包应用程序的最佳方式。

There are many third party solutions available for automated deployment. You can also create your own scripts but you need some way of invoking them. If your client's machines are configured to look for network located start up scripts then this would be an ideal method. Typically, automated deployments work with a standard deployment package, i.e. containing a setup.exe and required files, so this would probably be the best way to package your application.

的ClickOnce是专门为手动部署设计由最终用户和只带来混乱时的目标是自动化部署。很明显,你可以让你的ClickOnce部署到位的情况下有人想要手动安装应用程序,但它会使事情变得更容易,如果你单独打包的自动部署。

ClickOnce is specifically designed for manual deployment by an end user and only confuses things when the goal is automated deployment. Obviously you can keep your ClickOnce deployment in place in case someone wants to install your app manually, but it will make things easier if you package it seperately for automated deployment.

这篇关于是否有可能自动执行ClickOnce部署?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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