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

8

15

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?

Trask answered 31/10, 2008 at 9:51 Comment(0)
T
7

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

Trask answered 25/2, 2010 at 7:25 Comment(0)
T
3

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....

Toitoiboid answered 14/10, 2009 at 22:46 Comment(0)
I
1

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

Isthmian answered 31/10, 2008 at 15:27 Comment(1)
Thanks for the suggestion, but what I can see from the web site, ClickThrough is still more of an idea rather than a working project.Trask
R
1

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

Rounce answered 16/12, 2009 at 13:14 Comment(0)
T
0

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.

Tisbe answered 31/10, 2008 at 20:12 Comment(1)
The problem I see with this approach is that your app actually becomes a .NET application with dependencies to the .NET framework.Trask
W
0

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

Weak answered 15/10, 2009 at 22:52 Comment(0)
X
0

Another .NET one: SparkleDotNet

Xylophagous answered 5/9, 2010 at 22:42 Comment(0)
T
-3

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.

Tomfoolery answered 31/10, 2008 at 16:34 Comment(1)
It doesn't need to. After an update is downloaded the program can launch an updater which prompts the user to close the program, updates it, and then relaunches it.Sokotra

© 2022 - 2024 — McMap. All rights reserved.