自动升级基于 MSI 的应用程序的最佳实践是什么? [英] What is the best practice to auto upgrade MSI based application?

查看:25
本文介绍了自动升级基于 MSI 的应用程序的最佳实践是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试寻找一种标准的 Microsoft 更新程序服务,该服务将自动更新客户计算机上的应用程序/服务.

I am trying to find a standard Microsoft updater service which will update the application/services on customer machine automatically.

是否存在这样的自动更新程序服务?

Does any auto updater service like this exist?

推荐答案

作为 Stein 回答的后续.

MSIX:这仍然很热门,您的大多数用户可能从未听说过它,因此我的建议是仅出于研发目的解决它.

MSIX: This is still hot and most of your users probably never hear of it so my recommendation is to address it only for R&D purposes.

为了确认 Stein 的回答,支持 自动更新 MSIX/AppX 包.实际上,最新版本的 Advanced Installer 可以构建也利用此支持的 MSIX/AppX 包.

Just to confirm Stein's answer, there is a support for auto-updates for MSIX/AppX packages. Actually the latest version of Advanced Installer can build MSIX/AppX packages which also leverage this support.

第三方工具:如果您今天要向 Windows 7 和 Windows 10 用户部署应用程序,旧的 MSI 仍然是您的朋友.

Third party tools: If you want to deploy today an application to Windows 7 and Windows 10 users, the old MSI is still your friend.

就像 Stein 提到的那样,市场上大多数专业的第三方工具都提供了一个自动更新程序,您可以非常快速地将其连接到您的应用程序中.使用高级安装程序,这非常简单(我们希望如此:)).使用 我们的更新程序,您可以让您的用户手动检查更新,方法是创建一个启动它的简单快捷方式,或按计划(高级安装程序将创建计划任务),或者您甚至可以 直接从您的应用程序调用.

Just like Stein mentioned, most of all professional third party tools on the market provide an auto-updater which you can hook into your application pretty fast. With Advanced Installer, this is pretty straightforward (or so we hope :)). Using our updater you can enable your users to check for an update manually, by creating a simple shortcut to launch it, or on a schedule (Advanced Installer will create a scheduled task) or you can even call it directly from your application.

除非您真的有很多时间在手上并且喜欢惹恼您的用户,否则我不建议您继续构建自己的更新程序.这听起来很简单,但对于您和您的用户(遇到您的错误或限制的人)来说,很容易变得复杂.

Unless you have really a lot of time on your hands and like upsetting your users, I would not recommend to go on an build your own updater. It sounds simple, but can very easily become complicated, for you and for your users (the ones hitting your bugs or limitations).

免责声明:如果 Stein 的回答还不清楚,我在团队构建高级安装程序中工作.

这篇关于自动升级基于 MSI 的应用程序的最佳实践是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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