Is there an auto-update framework for C++/Win32/MFC (like Sparkle)? [closed]

空扰寡人 提交于 2019-12-03 06:04:35

问题


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.



来源:https://stackoverflow.com/questions/252986/is-there-an-auto-update-framework-for-c-win32-mfc-like-sparkle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!