Pyr3x
25th October 2011 16:26 UTC
Web Update
I have been trying to develop a web updater that can check some kind of remote file for changes and if needed pull new files and update.
I have only been able to download files and install them using inetc but it's getting redundant and it downloads files even if they don't need updates. It's sloppy and hard on my servers.
If anyone could please help me I would appreciate it.
-Pyr3x
Afrow UK
25th October 2011 16:38 UTC
Simplest way is to download an additional file which contains information about the file (such as timestamp or hash). You can download that first and then download the main file if necessary.
Stu
Pyr3x
25th October 2011 16:40 UTC
I am still very new to NSIS scripting, would it be possible to request examples?
QOAL
25th October 2011 16:58 UTC
I wrote this script a couple of years ago (How was it so long ago!?): http://forums.winamp.com/showpost.ph...85&postcount=7
It might be of some use to you.
Pyr3x
25th October 2011 17:15 UTC
Neat little set of scrips you have sir.
I am however, still in the process of figuring out how the generator works... lol
Thanks for the examples.