Inno setup &引用;源文件损坏:SHA-1哈希不匹配“;Inno安装程序出错 在Windows 2008上安装应用程序时,在安装过程中遇到以下问题:

Inno setup &引用;源文件损坏:SHA-1哈希不匹配“;Inno安装程序出错 在Windows 2008上安装应用程序时,在安装过程中遇到以下问题:,inno-setup,Inno Setup,源文件损坏:SHA-1哈希不匹配 这是日志文件的一部分 2013-01-28 21:55:36.945 Installing the file. 2013-01-28 21:55:37.397 Source file corrupted: SHA-1 hash mismatch. 2013-01-28 21:55:37.881 Defaulting to Abort for suppressed message box (Abor

源文件损坏:SHA-1哈希不匹配

这是日志文件的一部分

2013-01-28 21:55:36.945   Installing the file.
2013-01-28 21:55:37.397   Source file corrupted: SHA-1 hash mismatch.
2013-01-28 21:55:37.881   Defaulting to Abort for suppressed message box 
                          (Abort/Retry/Ignore):
                          C:\Program Files (x86)\XYZ\XY.exe

                          An error occurred while trying to copy a file:
                          The source file is corrupted.

                          Click Retry to try again, Ignore to skip this 
                          file (not recommended), or Abort to cancel 
                           installation.
2013-01-28 21:55:37.881   User canceled the installation process.
2013-01-28 21:55:37.881   Rolling back changes.
有人能帮忙解决这个问题吗


提前感谢。

如错误所示,安装程序已被损坏。这很可能是由于下载错误造成的。让用户再次下载安装程序。(但请注意,问题仍然可能发生,原因可能是由于重复了导致原始下载失败的任何原因,或者由于缓存了坏文件。)

这听起来很奇怪。您正在使用哪个版本的InnoSetup?最近一次?您是否尝试过另一个未损坏的安装版本?inno编译器是否生成了损坏的安装程序?或者它在其他地方损坏了?只在XY.exe上损坏了,在其他地方损坏了