为什么在Inno Setup 6中编译安装程序比在Inno Setup 5中编译大1 MB

问题描述:

我有一个Inno Setup脚本,可以将我的应用程序变成一个exe.

I have an Inno Setup script to make my application into an exe.

当我使用Inno Setup版本6编译代码时,输​​出文件大小为 110MB (如Windows资源管理器大小列所示)

When I compile the code using Inno Setup version 6, the output file size is 110MB (as shown in Windows Explorer size column)

但是当我在Inno Setup版本5中编译相同的脚本时,输出文件大小为 109MB (小1 MB).

But when I compile the same script in Inno Setup version 5, the output file size is 109MB (1 MB smaller).

为什么尺寸有所不同?这有问题吗?

Why there is a difference in size? Is this a problem?

已编译的安装程序实际上是 SetupLdr.e32 的相同副本,以及 Setup.e32 的压缩副本.>附加(以及实际的安装文件).这两个文件都位于Inno Setup安装文件夹中.

A compiled installer is actually an identical copy of SetupLdr.e32 with a compressed copy of Setup.e32 appended (along with actual installation files). Both these files are present in Inno Setup installation folder.

这两个文件具有:

  • Inno Setup 6中的
  • 0.68 + 2.41 MB
  • Inno Setup 5 Unicode中的
  • 0.11 + 1.13 MB
  • Inli Setup 5 Ansi中的
  • 0.05 + 0.68 MB
  • 0.68 + 2.41 MB in Inno Setup 6
  • 0.11 + 1.13 MB in Inno Setup 5 Unicode
  • 0.05 + 0.68 MB in Inno Setup 5 Ansi

来自 Inno Setup 6.0修订历史:

Delphi编译器从Delphi 2009更新到了Delphi 10.3 Rio.此更改增加了安装程序的大小,但减少了开发,测试和部署时间.

Delphi compiler updated from Delphi 2009 to Delphi 10.3 Rio. This change increases the size of Setup but decreases development, testing and deployment times.

这也间接相关:

从Inno Setup 6开始,只有一个版本可用:Unicode Inno Setup.

Starting with Inno Setup 6 there's only one version available: Unicode Inno Setup.