Builtin NSISdl plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
Davidnewcomb (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
== Introduction == | == Introduction == | ||
This | This built-in plugin allows you to download files via HTTP. | ||
== Supported == | == Supported == | ||
To find out whether your NSIS installation supports NSISdl, just compile a script. If NSISdl is listed in the compiler log, it is supported. | |||
Processing config: | Processing config: | ||
Line 16: | Line 16: | ||
: | : | ||
== | == Standard usage instructions == | ||
There are | There are two methods. The first downloads the file: | ||
NSISdl::download http://download.nullsoft.com/winamp/client/winamp291_lite.exe $0 | NSISdl::download http://download.nullsoft.com/winamp/client/winamp291_lite.exe $0 | ||
And the second downloads it without warnings | And the second downloads it without warnings: | ||
NSISdl::download_quiet http://download.nullsoft.com/winamp/client/winamp291_lite.exe $0 | NSISdl::download_quiet http://download.nullsoft.com/winamp/client/winamp291_lite.exe $0 | ||
Line 27: | Line 27: | ||
where $0 is the name of the local file. | where $0 is the name of the local file. | ||
== | For further usage instructions see Docs\NSISdl\ReadMe.txt. | ||
== Header file with various translations == | |||
Deguix has made a NSISdl header file which features various translations. | |||
So far it has been translated into eight languages: | |||
- English | |||
- Porguguese | |||
- Lithuanian | |||
- German | |||
- Chinese Traditional | |||
- Simplified Chinese | |||
- Croatian | |||
- French | |||
For further information and current version visit this thread: | |||
[http://forums.winamp.com/showthread.php?postid=1279800 Forum-Thread] |
Revision as of 10:25, 10 November 2006
Introduction
This built-in plugin allows you to download files via HTTP.
Supported
To find out whether your NSIS installation supports NSISdl, just compile a script. If NSISdl is listed in the compiler log, it is supported.
Processing config: Processing plugin dlls: "C:\Program Files\NSIS\Plugins\*.dll" - AdvSplash::show - Banner::destroy - Banner::getWindow : - NSISdl::download - NSISdl::download_quiet :
Standard usage instructions
There are two methods. The first downloads the file:
NSISdl::download http://download.nullsoft.com/winamp/client/winamp291_lite.exe $0
And the second downloads it without warnings:
NSISdl::download_quiet http://download.nullsoft.com/winamp/client/winamp291_lite.exe $0
where $0 is the name of the local file.
For further usage instructions see Docs\NSISdl\ReadMe.txt.
Header file with various translations
Deguix has made a NSISdl header file which features various translations.
So far it has been translated into eight languages:
- English - Porguguese - Lithuanian - German - Chinese Traditional - Simplified Chinese - Croatian - French
For further information and current version visit this thread: Forum-Thread