What are the upper limits of the CAB file format?

Question

What are the upper limits of the CAB file format?

Answer

The only compressed file type supported natively by Windows Installer is the Cabinet (CAB) format.

  1. Multi-part CABs can get the total size of a set of files past 2GB, possibly to 64K * 2GB, but no one file can exceed 2GB.
  2. Maximum size of all files in one folder (uncompressed) 2GB
  3. Maximum size of all files in one folder (compressed) 2GB
  4. Maximum size of a CAB file (compressed) 2GB
  5. Maximum number of files in a single CAB 64K

Content credit also belongs to

  • Mike, Microsoft Dev

[Author: Robert Flaming]

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.

Comments