我可以部署通过CD通过Web ClickOnce应用程序,和更新? [英] Can I deploy a ClickOnce application via CD, and update via Web?

查看:226
本文介绍了我可以部署通过CD通过Web ClickOnce应用程序,和更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个供应商的应用程序,我们扩展并通过的ClickOnce部署。供应商还提供了部署管理器的包应用程序和任何扩展到ClickOnce部署,我们发布到Web服务器。我提到这个细节,这样它的理解,我们并不真的有很大的控制权变更的部署过程。

We have a vendor application that we extend and deploy via ClickOnce. The vendor also provides a 'Deployment Manager' which packages the app and any extensions into a ClickOnce deployment that we publish to a web server. I mention this detail so that it's understood we don't really have great control over changing the deployment process.

因此​​,我们将应用程序发布到我们的Web服务器。这工作得很好,和更新的正常工作。在加载应用程序,它会提示用户是否要更新的应用程序。

So, we publish the application to our web server. That works fine, and updates work correctly. On loading the application, it will prompt the user if they want to update the application.

我们的一些客户已经要求一个MSI安装程序。他们的用户将切换课桌经常,这需要它们来重新下载应用程序,它被保存到本地用户文件夹,而不是漫游配置

Several of our clients have asked for an 'MSI installer'. Their users will switch desks quite often, which requires them to re-download the application, as it is saved to the local user folder rather than the roaming profile.

这是非常对我们非常重要的更新,尽快走出去。因此,要求客户端下载的MSI格式的最新更新,并使用组策略部署是出来的照片。

It is very important to us that updates go out as quickly as possible. Therefore, requiring clients to download the latest update in MSI form and deploy using Group Policy is out of the picture.

所以,作为一种妥协,我们希望能够提供一个初始安装,可以通过组策略出去,但需要更新的应用程序通过网络进行。

So, as a compromise, we'd like to be able to offer an initial install that can go out via Group Policy, but require that the updates to the application occur via the web.

这是可能的,我怎么能做到这一点?

Is this possible, and how can I achieve this?

有一个<一个href="http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/4fe52795-11ff-403e-aa19-8e43ca6c3981/">rough回答我在MSDN上的问题,但没有就如何实现它一个很好的说明。

There is a rough answer to my question on MSDN, but there isn't a very good description on how to achieve it.

我需要拉链拉上,以构建初始离线安装哪些文件/目录?我们的部署已经有好几个版本坐在Web服务器上。

What files/directories would I need to zip up to build the initial offline installer? Our deployment already has several versions sitting on the web server.

我如何操纵更新URL?

How do I manipulate the 'Update URL' after a deployment?

推荐答案

  • 发布标签在你的主 项目属性屏幕。
  • 然后在发布文件夹位置 给一个本地文件夹。 (这将是 在您的初始设置会 创建)
  • 安装文件夹位置空白
  • 点击更新.. 按钮。
  • 给你更新Web网址更新 位置

  • Go to Publish tab on your main project properties screen.
  • Then on Publish Folder Location give a local folder. (This will be where your initial setup will be created)
  • Keep Install Folder Location blank
  • Click on Updates.. button.
  • Give your updates web url in Update Location.
  • ,你想进行其他设定。

    编辑:

    如果你想创建/修改清单外的VS​​,您可以使用 MageUI。 exe文件

    If you want to create/modify the manifest outside VS you can use MageUI.exe

    这篇关于我可以部署通过CD通过Web ClickOnce应用程序,和更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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