ACEMCP
24th August 2003 17:25 UTC
Incremental updates
There are any easy way to create incremental update?
First time I release a version of 1 of the sw,
then I release 1.01... How can I create a patch witch can install on 1.00 to 1.01...
later i release 1.05 and the patch witch can update 1.00 and 1.01 to 1.05
Many thanks,
ACEMCP
Afrow UK
24th August 2003 18:39 UTC
This is possible with NSIS, and I've made it with my program.
Here's how it should be done (in simple terms)
1. Have an ini file stored on your webspace with your current software version in it. When you release new software you chane the version value in there.
2. Every time the user runs the installer, the ini file will be downloaded (using NSISdl plugin)
3. The version number in the downloaded ini file will be compared with the current program version (should define that in the installer at the top)
4. If the version numbers are different, then it simply runs another installer and quits.
5. The new installer that has been opened will now download the updated software, then place it over the old installer.
6. It will then execute the new installer and quit too.
I've used this exact same method; and here is the ini (txt) file stored on my webspace which is downloaded every time:
http://myweb.tiscali.co.uk/imker/dda...du_objects.txt
-Stu
Joost Verburg
24th August 2003 19:50 UTC
The VPatch plug-in for file patches (Contrib\VPatch) has support for multiple patches in one file. It automatically selects the right patch for your version.
ACEMCP
28th August 2003 21:07 UTC
Where can I found it?
kichik
29th August 2003 10:16 UTC
As the author have not packaged it yet for the web, it's only available in the latest CVS version of NSIS, in Contrib\VPatch.