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 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.