【问题标题】:InnoTools Downloader is failing with “Sorry, the files could not be downloaded”InnoTools 下载器失败并显示“抱歉,无法下载文件”
【发布时间】:2020-05-14 18:46:16
【问题描述】:

我一直在尝试为所需文件位于服务器上的应用程序制作安装程序。我正在使用 Inno Setup 和 InnoTools Downloader。执行设置后出现以下错误:

抱歉,无法下载文件,请单击“重试”或再次尝试下载文件,或单击“下一步”继续安装。

脚本运行良好,但突然间它向我抛出了这个错误,我不知道我做错了什么。我附上了下面的图片和代码。

procedure InitializeWizard();
var 
  i: Integer;
begin
   CreateTheWizardPages;
   for i := 1 to 10 do
   begin
     if down_URLs[i].url <> '' then 
       itd_addfile(down_URLs[i].url, ExpandConstant('{tmp}\'+down_URLs[i].target_exe));
   end;
   itd_downloadafter(wpReady);
end;

任何解决此问题或向我指出解决方案的帮助将不胜感激。

谢谢

【问题讨论】:

    标签: inno-setup pascalscript inno-tools-downloader


    【解决方案1】:

    如您所见,InnoTools Downloader 不支持 HTTPS。与其切换到未加密的 HTTP,不如考虑切换到 Inno Download Plugin

    Inno 下载插件支持 HTTPS,除了other advantages。它是 InnoTools Downloader 的一种替代品。只需进行少量更改。


    还有DwinsHs。而Inno Setup 6.1 原生支持下载(包括 HTTPS)。见Inno Setup: Install file from Internet

    【讨论】:

      猜你喜欢
      • 2015-06-16
      • 1970-01-01
      • 1970-01-01
      • 2011-04-10
      • 2019-12-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多