![]() |
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? |
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.
|
Thanks for the reply! :D I'll go try now.
|
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.
|
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.
|
I think I'll worship you alongside Afrow UK as NSIS God :P
Thanks very muchly! :D -Database |
| All times are GMT. The time now is 05:48. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.