Inno Setup 编译器软件,菜鸟求教,“磁盘跨越必须启用,是为了创建2100000000字节的安装程序”怎么解决
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Inno Setup 编译器软件,菜鸟求教,“磁盘跨越必须启用,是为了创建2100000000字节的安装程序”怎么解决相关的知识,希望对你有一定的参考价值。
Inno Setup 编译器软件,菜鸟求教,“磁盘跨越必须启用,是为了创建2100000000字节的安装程序”怎么解决,越详细越好!!!
据 InnoSetup 软件的使用帮助:
[Setup]: DiskSpanning
Valid values: yes or no
Default value: no
Description:
If set to yes, the disk spanning feature will be enabled. Instead of storing all the compressed file data inside SETUP.EXE, the compiler will split it into multiple SETUP-*.BIN files -- known as "slices" -- suitable for copying onto separate floppy disks, CD-ROMs, or DVD-ROMs. Each generated slice contains a number in its name which indicates the disk onto which it should be copied. (For example, SETUP-2.BIN should be placed on disk 2.) The generated SETUP.EXE always goes on disk 1 along with the SETUP-1*.BIN file.
The size of each slice and the number of slices to create for each disk are determined by the values of the DiskSliceSize and SlicesPerDisk [Setup] section directives, respectively. Other disk spanning-related directives that you may want to tweak include DiskClusterSize and ReserveBytes.
Note that it is required that you set this directive to yes if the compressed size of your installation exceeds 2,100,000,000 bytes, even if you don\'t intend to place the installation onto multiple disks. (The installation will still function correctly if all the SETUP-*.BIN files are placed on the same disk.)
上面的最后一段,明确提示,打包编译生成的安装包文件,如果最终的文件大小超过2100000000字节,那么就必须设置参数(DiskSpanning)值为 yes (缺省值为 no),具体做法是,在上面的 [Setup] 段里,再添加一个参数,如下如示:
DiskSliceSize = 分割的文件大小
如何使用Inno Setup Compiler制作安装软件包
工具/原料
-
Inno Setup Compiler汉化版软件
以上是关于Inno Setup 编译器软件,菜鸟求教,“磁盘跨越必须启用,是为了创建2100000000字节的安装程序”怎么解决的主要内容,如果未能解决你的问题,请参考以下文章