[Qt-interest] update application

Jason H scorp1us at yahoo.com
Mon Jun 21 16:51:32 CEST 2010


I have written these... It is pretty easy with with QNAM. Just have a URL that hold the latest build number and check it against the compiled-in build number, then it is a matter of comparing two ints. It also helps if you put the download URL in that file and get the URL using QNAM again.

Note that one problem is on Windows, if the EXE is running, that you can't overwrite it on disk. You will have to use a stub updater - that after you download the update, you run the stub updater (or the update itself) but when you do, you have yo quickly exit the main program. 

On one system, I went a little further to have the application icon point to the stub, so if it found a local update (downloading updates in the background) it would give the user the choice of installing the software or skipping it (if they needed to get into the software quickly). We found that this really hoped all of our users be on the latest and greatest code base and overall satisfaction went  up because we'd fix stuff and get it out before users ran into a problem, which then would result in a call to tech support.






________________________________
From: balazar balazar <balazar.spam at gmail.com>
To: qt-interest at trolltech.com
Sent: Mon, June 21, 2010 10:33:13 AM
Subject: [Qt-interest] update application

Hi everyone,

i have to have an application that is capable of checking if it is the last version. if it isn't it has to auto update.
does anyone have any sugestion how to do it?
top of the cream would be an example! xD

all the best


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100621/ca2cd816/attachment.html 


More information about the Qt-interest-old mailing list