问题
Is it possible to script that during installation to download files from a web server with Inno Setup?
回答1:
Take a look at the InnoTools Downloader (http://www.sherlocksoftware.org/page.php?id=50).
回答2:
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.
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 InnoSetup 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).
来源:https://stackoverflow.com/questions/4426859/download-latest-files-during-installation-inno-setup