如何最好地在Windows上实施软件更新? [英] How to best implement software updates on windows?

查看:157
本文介绍了如何最好地在Windows上实施软件更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Windows应用程序实现自动更新"系统. 现在,我正在半手动创建一个"appcast" ,我的程序会对其进行检查,并通知用户新版本可用. (我正在使用 NSIS (对于我的安装程序).

I want to implement an "automatic update" system for a windows application. Right now I'm semi-manually creating an "appcast" which my program checks, and notifies the user that a new version is available. (I'm using NSIS for my installers).

是否有我可以使用的软件来处理更新的自动"部分,也许类似于 Sparkle Sparkle 在Mac上?我应该注意的任何问题/陷阱?

Is there software that I can use that will handle the "automatic" part of the updates, perhaps similar to Sparkle on the mac? Any issues/pitfalls that I should be aware of?

推荐答案

没有比Sparkle(我所知道的)还要平滑的解决方案.

There is no solution quite as smooth as Sparkle (that I know of).

如果您需要轻松的方法来部署和更新应用程序,则可以选择 ClickOnce .不幸的是,它不灵活(例如,没有按机器安装而不是按用户安装),不透明(您几乎没有影响力和清晰度,无法控制其实际部署方式)和非标准(将安装的应用程序存储在其中的路径)与Windows上的其他工具都不一样.

If you need an easy means of deployment and updating applications, ClickOnce is an option. Unfortunately, it's inflexible (e.g., no per-machine installation instead of per-user), opaque (you have very little influence and clarity and control over how its deployment actually works) and non-standard (the paths it stores the installed app in are unlike anything else on Windows).

更接近您要求的是 ClickThrough ,这是 WiX ,但我不确定它仍在开发中(如果确实如此,他们应该对此更加清楚……)—并且在任何情况下都将使用MSI,而不是NSIS.

Much closer to what you're asking would be ClickThrough, a side project of WiX, but I'm not sure it's still in development (if it is, they should be clearer about that…) — and it would use MSI in any case, not NSIS.

您最好自己动手做一些事情.我很想看到Windows的Sparkle风格的项目,但到目前为止,似乎没人能提供帮助.

You're likely best off rolling something on your own. I'd love to see a Sparkle-like project for Windows, but nobody seems to have given it a shot thus far.

这篇关于如何最好地在Windows上实施软件更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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