Old 7th August 2002, 18:46   #1
bamboosky
Junior Member
 
Join Date: Aug 2002
Posts: 1
Edgewize code for web install

I read a thread that said that Edgewize had code to do a web install but his site doesn't exist anymore.

Does anyone have a copy of this?

Thanks.

John
bamboosky is offline   Reply With Quote
Old 7th August 2002, 19:07   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I don't know the specific code but instead you can use NSISdl (NSIS extension DLL) to download files from the internet, and use them in your installer.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 7th August 2002, 21:30   #3
CodeSquid
Member
 
Join Date: Dec 2001
Posts: 89
I've finished writing an NSIS script which can download files from the net. It first downloads a mirror list, then chooses one random mirror, downloads a zip file and extracts it. It is also possible to specify a local package directory where the downloaded files will be stored so that you don't have to redownload the files when you reinstall.
The script uses the following extension DLLs:
NSISdl, InstallOptions and ZipDLL (http://www.clantpa.co.uk/nsis/wiki/index.php/ZipDll) and can only be compiled by NSIS 2.0a4 or later with enabled NSIS_CONFIG_PLUGIN_SUPPORT
(BTW kichik, if you read this, why is this switch disabled by default again?)

Currently the script can only be downloaded here:
http://sourceforge.net/projects/filezilla/
It's located in the install folder of of FileZilla_2_0_0_beta_5a_src.zip
To see the script in action, download and run the setup program from the same page and select the "Source Code" component.

The only thing that is missing in my script is automatic mirror switching on failure.
CodeSquid is offline   Reply With Quote
Old 7th August 2002, 21:36   #4
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
NSIS_CONFIG_PLUGIN_SUPPORT is or was disabled by default because I contributed it as an expiremental idea that possibly required a lot more thought, testing and evaluation. In the CVS it is now enabled by default since people seem to like it and it seems to work.
Sunjammer is offline   Reply With Quote
Old 7th August 2002, 21:55   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Actually, I have enabled it back just now... I haven't finished optimizing it though. It should be ready tomorrow to ship happily with alpha 5

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik 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