NSIS/Contrib/NSISdl
kichik fcd2c16685 - fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both.
- made log window respond to the context menu key and not just right click
- set back the default style for the next after it's re-enabled
- set focus on main controls for every page (can still hit enter for next)
- added code to prevent weird usage of WM_COMMAND which can cause weird behavior such as disabled next button on the components page
- eccles fixed a bug which caused beeping when the space key is hit on the components tree


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3351 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:05:03 +00:00
..
asyncdns.cpp Smaller 2002-12-04 20:05:35 +00:00
asyncdns.h This commit was generated by cvs2svn to compensate for changes in r2, 2002-08-02 10:01:35 +00:00
connection.cpp Smaller 2002-12-04 20:05:35 +00:00
connection.h This commit was generated by cvs2svn to compensate for changes in r2, 2002-08-02 10:01:35 +00:00
httpget.cpp Crash fixes, including firewall problems, many Optimizations 2003-12-02 01:13:35 +00:00
httpget.h This commit was generated by cvs2svn to compensate for changes in r2, 2002-08-02 10:01:35 +00:00
License.txt updated readme 2003-02-19 21:46:08 +00:00
netinc.h Smaller 2002-12-04 20:05:35 +00:00
nsisdl.cpp - fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both. 2004-01-04 17:05:03 +00:00
nsisdl.dsp Translatable NSISdl 2002-12-05 13:05:49 +00:00
nsisdl.dsw This commit was generated by cvs2svn to compensate for changes in r2, 2002-08-02 10:01:35 +00:00
ReadMe.txt quiet download 2003-05-05 13:29:57 +00:00
resource.h - NSISdl will now take the installer's style 2003-05-25 17:10:14 +00:00
Script1.rc include winresrc.h instead of afxresh which is not available on non Microsoft compilers (part of MFC it seems) 2003-12-23 14:24:28 +00:00
util.cpp Smaller 2002-12-04 20:05:35 +00:00
util.h Smaller 2002-12-04 20:05:35 +00:00

NSISdl 1.1 - HTTP downloading plugin for NSIS
---------------------------------------------

Copyright (C) 2001-2002 Yaroslav Faybishenko & Justin Frankel

This plugin can be used from NSIS to download files via http.

To connect to the internet, use the Dialer pluin.

USAGE
-----

NSISdl::download http://www.domain.com/file localfile.exe

You can also pass /TIMEOUT to set the timeout in milliseconds:

NSISdl::download /TIMEOUT=30000 http://www.domain.com/file localfile.exe

The return value is pushed to the stack:

  "cancel" if cancelled
  "success" if success
  otherwise, an error string describing the error

If you don't want the progess window to appear use NSISdl::download_quiet.

Example of usage:

NSISdl::download http://www.domain.com/file localfile.exe
Pop $R0 ;Get the return value
  StrCmp $R0 "success" +3
    MessageBox MB_OK "Download failed: $R0"
    Quit

For another example, see waplugin.nsi in the examples directory.

TRANSLATE
---------

To translate NSISdl add the following values to the call line:

/TRANSLATE downloading connecting second minute hour plural progress remianing

Default values are:

  downloading - "Downloading %s"
  connecting - "Connecting ..."
  second - "second"
  minute - "minute"
  hour - "hour"
  plural - "s"
  progress - "%dkB (%d%%) of %dkB @ %d.%01dkB/s"
  remaining -  "(%d %s%s remaining)"

/TRANSLATE must come before /TIMEOUT.