Update version Info
Posted on 2011-10-01
Hi all. Another little question, hope not too difficult this one ;-)
I have builded an app whose goal is to update another app. So the system works this way: main app start and chech a php file on the web server passing to it the version info. If php file return outdated, main app launchs downloader and stops. Downloader... downloads, launchs updater and stops.
Updater app is not an installer: I preferred to build a little, simple app which can install not necessarily the main app with a new version number but others updated files.
The problem is that if I update another file and not the main app, this one still has the previous version number so each time it will contact the web server, it will receive outdated as respone.
So the problem is: can the updater program easily ;-) update the version info of the main app or it is a too difficult task? In this case I will think to some other...
Thanks in advance for any idea.