DBP DEMO
first download
http://www.mod2software.com/misc/dbp09_test.zip and unzip it to a folder, you should see a dbp exe and a media folder. This exe embeds the version value 0.9
You'll need to put a copy of xupdate.exe in the folder with the dbp exe, I didnt include it in this zip
On the server is a few dummy files and a new dbp exe that embeds version value 1.0. There are 2 dummy entries and 1 valid entry in the manifest file so you can see multiple package downloads in action (0.95, 0.99, and 1.0) All of these versions collect the same 4 files and download them as packages. Here's what should occur:
-run the dbp exe, it will call xupdate (when you see XU gui move it off center slightly)
-xupdate will check for updates and find them
-xupdate will stop the dbp app
-the downloads will commence and finish (3 packages)
-the new dbp exe will start, XU will get called again
-if previous XU session is still running new one will wait
-first xu session will finish, new xu session will check for updates
-new xu session should report that no new versions were found and exit
-the new dbp exe (version 1.0) will continue to run
its pretty neat I think - check it out!
(the dbp exe is only 330K or so)
Automatic file Downloads/Updates for your distributed Games and Apps - see Program Announcements Forum