Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Checking Modified tag? (http://forums.winamp.com/showthread.php?t=245423)

Database 4th May 2006 18:35

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 10:26

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 10:36

Thanks for the reply! :D I'll go try now.

Takhir 14th May 2006 10:32

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 09:07

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 09:27

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.