Old 29th May 2005, 03:01   #1
Posts: n/a
need help making a remote installer

I was wondering how to make an installer that instead of using included files, would download files from a certain website and install them. i'm not sure if this is possible but i'm guessing it can be..

Please help me, and if possible write, or include a script.. hehe

Thanks in advance,
  Reply With Quote
Old 29th May 2005, 13:55   #2
Senior Member
Pidgeot's Avatar
Join Date: Jan 2002
Location: Denmark
Posts: 136
In your installation section, use the NSISdl plug-in. The basic syntax for retrieving a file is:

NSISdl::download <URL to file> <file destination>

For example, to download http://yourdomain.com/myfile.exe into $INSTDIR\bin, you would use the following command:

NSISdl::download http://yourdomain.com/myfile.exe $INSTDIR\bin

For a more detailed explanation on how to use NSISdl, check Contrib\NSISdl\Readme.txt in your NSIS directory.

Note that NSISdl only works for simple HTTP retrieval. If you need more advanced features, such as FTP, you will likely need to use InetLoad instead.
Pidgeot is offline   Reply With Quote
Old 30th May 2005, 04:06   #3
Posts: n/a
Thanks a lot!
  Reply With Quote
Old 30th May 2005, 04:09   #4
Posts: n/a
sorry, one more question, can i make it so it downlods the files into a temporary directory, then prompts you for an ip address, username, and pass word, and then it will ftp the files to a folder on that pc?

i'm trying to make an xbox halo2 map pack remote installer...

Thanks in advance (again)
  Reply With Quote
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