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

编程入门 行业动态 更新时间:2024-10-27 15:15:14
本文介绍了为什么在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

本文发布于:2023-11-13 09:34:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584017.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   Inno   Setup   MB

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!