Archive: Downloading files from NSIS


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


You can use nsisdl, it's in the plugins folder of NSIS2.0a7/b0.


Thanks...I'll give it a shot and see if it'll do the trick.


NSIS-dl is avaiable with NSIS 1.98 too.


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?


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