14

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?

fhe
  • 6,099
  • 1
  • 41
  • 44

8 Answers8

7

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

fhe
  • 6,099
  • 1
  • 41
  • 44
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....

Matthew Crumley
  • 101,441
  • 24
  • 103
  • 129
spot
  • 108
  • 7
1

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

Taneli Waltari
  • 677
  • 3
  • 5
1

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

Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
  • 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. – fhe Nov 03 '08 at 10:32
0

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

Aidan Ryan
  • 11,389
  • 13
  • 54
  • 86
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.

dnord
  • 1,702
  • 2
  • 18
  • 34
  • The problem I see with this approach is that your app actually becomes a .NET application with dependencies to the .NET framework. – fhe Nov 03 '08 at 10:25
0

Another .NET one: SparkleDotNet

Tomas Andrle
  • 13,132
  • 15
  • 75
  • 92
-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.

Martin Beckett
  • 94,801
  • 28
  • 188
  • 263
  • 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. – Peter Burns Nov 01 '08 at 07:32