Archive: Edgewize code for web install


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


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.


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.


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.


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 :D