Old 29th May 2005, 02:01   #1
-TheDemon-
Guest
 
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,
TheDemon
  Reply With Quote
Old 29th May 2005, 12:55   #2
Pidgeot
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, 03:06   #3
-TheDemon-
Guest
 
Posts: n/a
Thanks a lot!
  Reply With Quote
Old 30th May 2005, 03:09   #4
-TheDemon-
Guest
 
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)
TheDemon
  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