How To Write an Automatic Update System Part 1 – the Simplest Auto Update Ever

You are working on finishing the first version of your software product, you want to release it as soon as possible, you already decided to delay some features to the next version and you don't have the time to write an automatic update feature or to buy and integrate an existing solution. What do you do?

You just add a page to your web site, the page just says there is no update available, in your application the "check for updates" button or menu item just opens that page in the user's default browser. When a new version is available - redirect from this page into your download page.

You can make things a bit nicer by opening the page in a browser embedded in your application and matching the application's graphic style on the updates page, but this takes extra work, so you might as well create a real auto-update feature instead – in part 2 I'll talk about how to easily build one.

This is the system I used in yaTImer 1.0, in yaTimer 1.0.1 I switched to the system I will describe in part 2 of this series.

UPDATE: Source code is here

posted @ Sunday, June 17, 2007 5:44 PM | Post to Twitter

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 4 and 7 and type the answer here: