motion157
9th October 2002 22:37 UTC
Downloading files from NSIS
I was wondering if anyone knew of a plugin that can download files from the installer over the internet. For example, depending upon which components they've chosen, the installer can go and grab additional files from a website.
To me, this isn't the best way to do an installer, however, my company wants a lightweight installer that doesn't include a JRE. It will detect if someone has the java plugin installed. If they don't have the plugin, it will ask them if they'd like to download and install it. I have a feeling the best/easiest way is just to tell them where to go download it.
thanks,
-Dennis
Netsabes
9th October 2002 22:58 UTC
You can use nsisdl, it's in the plugins folder of NSIS2.0a7/b0.
motion157
9th October 2002 23:14 UTC
Thanks...I'll give it a shot and see if it'll do the trick.
kichik
10th October 2002 12:17 UTC
NSIS-dl is avaiable with NSIS 1.98 too.
TheMetsAreBad
11th November 2003 04:28 UTC
I want to do something very similar to this. I know how to make it download the java plugin...I just don't know how to make it only download it if it's not installed on someones computer. How would I go about doing this?
Vytautas
11th November 2003 04:50 UTC
First you would have to detect if JRE is installed, there is an Archive page on that subject I think. Then if not installed call the NSIS-DL plugin otherwise skip it.
Vytautas