Old 20th September 2008, 09:18   #1
TheJuice
Junior Member
 
Join Date: Sep 2008
Location: In your Paperbin
Posts: 1
Question DL-installer

Hello! I'm new to NSIS, and want to create an installer.

The installer should not ask for anything, but just download some files from e.g ftp://moo:cow@ftp.sheep.wool
to a predestined directory if the files are of a newer version than the ones already there. But the thing is, I dont know how to use NSISdl to download it to the installpath. Could anyone help me with this or post some hints?

Thanks in advance,
~~TheJuice
TheJuice is offline   Reply With Quote
Old 20th September 2008, 15:20   #2
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,167
It's quite easy to use, here is an example:
SetOutPath "$INSTDIR\"
NSISdl::download "http://url.of/file.here" "localfile.name"

And you can find the wiki page here.
QOAL is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump