luanvieiralima
Posts: 1
Joined: Wed Oct 27, 2021 11:55 pm

The CAB file size is limited to 2GB

Hey guys.

First I would like to apologize for English. I used google translator. I'm new to the forum.

I have a large project to create in advanced, but the same error message is always displayed.

I made a print of the configuration I'm using, and the size of the folder I'm creating in the project.



Error message:
The CAB file size is limited to 2GB, you can`t have more than 64K files in a CAB and you can`t compress files that are larger than 2GB

Version:
Advanced Installer 16.5

Folder Size:
Tamanho.png
Tamanho.png (18.34 KiB) Viewed 10465 times

Advanced configuration:
advanced.png
advanced.png (45.11 KiB) Viewed 10465 times
Liviu
Posts: 1365
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: The CAB file size is limited to 2GB

Hello and welcome to Advanced Installer forums,

This happens because the Operating System does not support CAB files larger than 2GB and thus, no single MSI larger that 2GB can be created.

Advanced Installer supports packing files larger than 2GB only if the "Place files unpacked next to the MSI database" option or LZMA compression is used.

With that being said, you can check the "Archive installation files using LZMA compression" option in the "Builds" page.

Hope this helps.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: The CAB file size is limited to 2GB

Hi,

Windows Installer has its limitations when it comes to managing large file installation. We’ll explore the available options for building installers with very large resources.

Before diving into, let’s summarize the current MSI limitations. The MSI utilizes CAB (Cabinet) files as storage containers for the files it includes.
  • Cab Maximum File Size: The maximum size of a CAB file is 2 GB. This limitation is imposed by the CAB file format itself.
  • Installer size: The MSI with resources inside cannot exceed 2 GB and EXE with resources inside cannot exceed 4GB. This is a Windows limitation.
Here's the Authoring Installer for Large Resources Overcoming MSI Size Limits (from a developer perspective) article that debates this subject.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”