- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Building .cab files error
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
When I trying to build my install shied project I am getting below error like
ISDEV : warning -6506: The Msi Command Line Attribute of the release currently being built is setting the REINSTALL parameter. If REINSTALL is set for a product that is yet to be installed, no installation action will take place at all.
Building .cab files...
ISDEV : fatal error -7108: %s is too large to store in a .cab (2 GB maximum).
Product Configuration 1\DVD Release - 1 error(s), 12 warning(s)
It is happening for particular binary which I cannot disclose.
Please help in resolving this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The windows .cab file format has limits on what it can contain:
No one file in a CAB can exceed 2GB
Maximum size of all files in one folder (compressed) 2GB
Maximum size of a CAB file (compressed) 2GB
Maximum number of files in a single CAB 64K
To avoid these limitations try building an uncompressed release instead - this should avoid the issue that you are seeing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The windows .cab file format has limits on what it can contain:
No one file in a CAB can exceed 2GB
Maximum size of all files in one folder (compressed) 2GB
Maximum size of a CAB file (compressed) 2GB
Maximum number of files in a single CAB 64K
To avoid these limitations try building an uncompressed release instead - this should avoid the issue that you are seeing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Ok. We can use that as a solution.
But I have one more question in mind w.r.t to Settings.xml file
1. Find the Settings.xml file that is installed with InstallShield. Settings.xml is installed in one of the following
locations, depending on which language version of InstallShield you are using:
• English—InstallShield Program Files Folder\Support\0409
• Japanese—InstallShield Program Files Folder\Support\0411
2. Create a back-up copy of the Settings.xml file, in case you later need to revert to the original version.
3. Use a text editor or XML file editor to open the Settings.xml file.
4. Search for the <CompressedNetworkCABSize> element. It looks something like this:
<CompressedNetworkCABSize default="600"/>
5. Do one of the following:
Chapter 2: Getting Started
Configuring Advanced Settings for InstallShield
258 ISP-2200-UG00 InstallShield 2015 User Guide
• To specify the maximum size for .cab files, type the size in MB as the value of the default attribute. In the
aforementioned example, the maximum size is 600. The value should be 2048 or less, since the maximum
size of a .cab file is 2 GB (2048 MB).
The default value is 600.
• If you do not want InstallShield to create multi-part .cab files, set the value of the default attribute to -1.
It should spawn to another .cab file if the size exceeds 2GB right?. But why is not happening?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
There is also a limit of 2 GB for cab files included in the MSI package - this limit however is not for the MSI database itself.
To create an installer larger than 2GB you will need to either build an uncompressed release or configure the release to place multiple CAB files next to the MSI package.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Are there any steps that I need to configure to use the latter one "configure the release to place multiple CAB files next to the MSI package". ?
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)