4

Is it possible to script that during installation to download files from a web server with Inno Setup?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Wai Wong
  • 2,671
  • 4
  • 21
  • 17
  • Please consider changing the accepted answer as InnoTools Downloader, recommended by the currently accepted answer, has not been updated since 2008. – Martin Prikryl Nov 06 '17 at 15:16

2 Answers2

3

InnoTools Downloader, recommended by the accepted answer, has not been updated since 2008. It does not work with Unicode version of Inno Setup (so it does not work with Unicode-only Inno Setup 6) and does not support HTTPS (among other). Do not use it.


Use Inno Setup 6.1 built-in support for downloads. See Inno Setup: Install file from Internet.


An old answer (before Inno Setup 6.1): I'm re-posting the answer by @Jens A. Koch, which has been deleted by moderator for some reason:

You might use the Inno Download Plugin by Mitrich Software.

  • It's an Inno Setup script and DLL, which allows you to download files as part of your installation.
  • It supports FTP, HTTP and HTTPS.
  • It's kind of a drop-in replacement for InnoTools Downloader. Only few changes required.
  • It brings a decent download display and HTTPS and Mirror(s) support.

There's also DwinsHs (Downloader for Inno Setup).

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
2

Take a look at the InnoTools Downloader (http://www.sherlocksoftware.org/page.php?id=50).

mirtheil
  • 8,952
  • 1
  • 30
  • 29