Database
4th May 2006 19:35 UTC
Checking Modified tag?
I'm ceating an installer that downloads updated files from a webserver and automaticially installs them, using NSISdl.
How can I tell my installer to heck the Modified tag on the zips in the fileserver, and then check them against some sort of log stored on the hard-drive? (I extract then delete the files after I download them.) And how can I log the Modified tag of the zips?
kichik
6th May 2006 11:26 UTC
It can't be done with NSISdl. Maybe InetLoad can do it. If not, you'll have to use a custom plug-in or external application. You can also try one of the Internet* API functions using the System plug-in.
Database
6th May 2006 11:36 UTC
Thanks for the reply! :D I'll go try now.
Takhir
14th May 2006 11:32 UTC
Looks like it's time to add HEAD request to InetLoad (for Last-modified: header and connection test), but after vacations I am overloaded with current tasks, later I'll do this.
Takhir
24th June 2006 10:07 UTC
Inetc now supports HEAD request. May be good for connection check as well. Total headers size (temporary) limited with 1 kB (NSIS string size), raw headers go to target local file.
Database
25th June 2006 10:27 UTC
I think I'll worship you alongside Afrow UK as NSIS God :P
Thanks very muchly! :D
-Database