Is it possible to script that during 开发者_运维问答installation to download files from a web server with Inno Setup?
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). And Inno Setup 6.1 will support downloads nativelly.
Take a look at the InnoTools Downloader (http://www.sherlocksoftware.org/page.php?id=50).
精彩评论