Skip to content
⌘ NSIS Forum Archive

If FileZilla exists, run script to download from FTP then launch installer(s) in orde

3 posts

Panarchy#

If FileZilla exists, run script to download from FTP then launch installer(s) in orde

Hi

Just trying to work out a little script.

Here's the general idea I'm going for;

If FileZilla exists, continue, otherwise download & install FileZilla.

Then run a tool that will download a few files from an FTP Server (with resume if connection broken), to a specific location and show in a status-bar the progress.

I'd like the installer to then run each installer in order.

Could you please tell me how this could be done?

Thanks in advance,

Panarchy
MSG#
To check if FileZilla exists, you can probably check in the registry. Ask the FileZilla people for details on exactly where to look.
To download from HTTP and/or FTP, use the Inetc plugin: http://nsis.sourceforge.net/Inetc_plug-in
To run the installers from your temp directory, use ExecWait: http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.4
Panarchy#
Thanks MSG, I found Inetc only a minute before I read your above post!

This is gonna be awesome!

:P