为什么在Inno Setup 6中编译安装程序比在Inno Setup 5中编译大1 MB [英] Why is installer compiled in Inno Setup 6 one MB larger than in Inno Setup 5

查看:77
本文介绍了为什么在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.

这篇关于为什么在Inno Setup 6中编译安装程序比在Inno Setup 5中编译大1 MB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆