PDA

View Full Version : application updater



baray98
12th February 2008, 10:46
I was playing online poker today and a message pop out and said you are running an old version of blah blah blah and click here to update. So this trigger my mind about auto updater.

What is the best algorithm or ways to implement this in an application?
What is the standard practice about updaters? Can i update the .exe itself? Its kinda difucult to overwrite the program that is running?

If someone can show me a good read about how to impliment application auto updater it would be appreciated..

baray98

jpn
12th February 2008, 11:02
A common approach is to provide a separate application which does the updating work meanwhile the main application is not running. Here's one relevant thread: Add "Check for updates" feature (http://www.qtcentre.org/forum/f-qt-programming-2/t-add-check-for-updates-feature-11246.html)