Using the internet to check for update
Posted: Sat Jul 25, 2009 5:41 pm
Hi Guys,
Im sorry if this has been asked before, Ive been trawling through but with all the version 4 update threads running, I cannot find the answer!
I have an app which at the moment has a version number in it, there is a file on our web server that has the current version number and code that pulls the file from the server, checks to see if a newer version is available and if so tells the user. This bit works well.
However, at that point all I do is launch an update.html page on our webserver so they can download the latest update. What I would like to do is have the software download and install the update.
Whats the best way to do this. Ive thought about writing a small installer app so if an update is available and the user wants to install it, it could fire that off and close itself, then that could download and execute the new installer app. Ideally though Id like a seamless upgrade so the software updates then restarts, no installer required.
Any ideas or suggestions would be gratefully received!
Thanks
Andy
Im sorry if this has been asked before, Ive been trawling through but with all the version 4 update threads running, I cannot find the answer!
I have an app which at the moment has a version number in it, there is a file on our web server that has the current version number and code that pulls the file from the server, checks to see if a newer version is available and if so tells the user. This bit works well.
However, at that point all I do is launch an update.html page on our webserver so they can download the latest update. What I would like to do is have the software download and install the update.
Whats the best way to do this. Ive thought about writing a small installer app so if an update is available and the user wants to install it, it could fire that off and close itself, then that could download and execute the new installer app. Ideally though Id like a seamless upgrade so the software updates then restarts, no installer required.
Any ideas or suggestions would be gratefully received!
Thanks
Andy