Skip to content
⌘ NSIS Forum Archive

Checking Modified tag?

6 posts

Database#

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#
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.
Takhir#
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#
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#
I think I'll worship you alongside Afrow UK as NSIS God :P

Thanks very muchly! 😁

-Database