Windows 应用程序的自动更新

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2452476/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:07:38  来源:igfitidea点击:

Auto-Update for a Windows application

c++cwindows

提问by rook

Is there an open source project that allows for an auto-update of windows binaries? The Luauupdate library is very similar to what I'm looking for but it was abandoned in 2005.

是否有允许自动更新 Windows 二进制文件的开源项目?该卢奥更新库非常相似,我正在寻找,但它是在2005年放弃了。

采纳答案by Arve

Google Omaha. But I have not tried it and don't know how easy it is to use.

谷歌奥马哈。但我没有尝试过,不知道它使用起来有多容易。

回答by Nigel

I was wondering the same thing and I took a look at Omahabut it requires so many prerequisites (WiX, Python2.4, Scons etc..) that it frightened me away.

我想知道同样的事情,我看了一下奥马哈,但它需要太多的先决条件(WiX、Python2.4、Scons 等),这让我感到害怕。

All I wanted was something simple so I also tried out WinSparkleand it is incredibly simple compared to Omaha, I definitely recommend it! One further note about WinSparkle: If you using Visual C++ WinForms you can simply link in the lib just like in their native C++ setup explanation.

我想要的只是一些简单的东西,所以我也尝试了WinSparkle,与奥马哈相比,它非常简单,我绝对推荐它!关于 WinSparkle 的进一步说明:如果您使用 Visual C++ WinForms,您可以简单地在 lib 中进行链接,就像在它们的本机 C++ 设置说明中一样

回答by jcoder

There was a discussion here with some options How to best implement software updates on windows?

这里有一个关于一些选项的讨论 如何最好地在 Windows 上实现软件更新?

In particual this http://winsparkle.org/which I keep meaning to look at !

特别是这个http://winsparkle.org/我一直想看看!

回答by Chris Becke

There are two things I belive the Windows platform seriously lacks. One: A secured password store, and this

我认为 Windows 平台严重缺乏两件事。一:安全的密码存储,以及这个

A central API to allow applications to register themselves so I dont get twenty million effing icons in my system tray as applications, that doubtless DO need to be updated, but also, are used very rarely, tell me how much bandwidth they've wasted downloading yet-another needless update.

一个允许应用程序自行注册的中央 API,这样我就不会在我的系统托盘中将 2000 万个 effing 图标作为应用程序,这无疑需要更新,但也很少使用,告诉我他们浪费了多少带宽下载另一个不必要的更新。