Is there an auto-update framework for C++/Win32/MF

2019-03-10 01:57发布

问题:

I've decided to add auto-update functionality to one of my applications and was looking for any existing solutions that compare the current running version with the latest version that is then downloaded from the web.

I know Sparkle on Mac OSX which is very nice and powerful, but was wondering whether there is something similar for Win32/MFC?

回答1:

I just stumpled accross WinSparkle which is an early stage but looks very promising.



回答2:

I found two more projects aimed at solving this: http://sevenupdate.sourceforge.net/ and Google's Omaha but it's not clear either of them has any external users yet, so this question is apparently still open. I too am looking for a solution....



回答3:

I've never used it, but WiX provides ClickThrough. Might be worth a look.



回答4:

There is open source project WIPT inspired by APT of Debian Linux. However, the project seems to be abandoned.



回答5:

I assume you already know about ClickOnce? I wasn't sure it was compatible with MFC, but then I found this article, so if that's the question you're asking, ClickOnce would be something to try.



回答6:

AbstractSpoon uses "Software Update Wizard" from here for their awesome ToDoList MFC app.



回答7:

Another .NET one: SparkleDotNet



回答8:

In general no, windows maps things like DLLs (either your own or MFC) in such a way that you can't replace a running program. The msi installer checks the VERSIONINFO and doesn't overwrite installed files that have the same (or newer version) but you would have to quit the runnign instance.