Filename extension | .cab |
---|---|
Internet media type | application/vnd.ms-cab-compressed |
Uniform Type Identifier (UTI) | public.archive.cab |
UTI conformation | public.data public.archive |
Magic number | MSCF |
Developed by | Microsoft |
Type of format | Archive file format |
Cabinet (or CAB) is an archive-file format for Microsoft Windows that supports lossless data compression and embedded digital certificates used for maintaining archive integrity. Cabinet files have
.cab
filename extensions and are recognized by their first 4 bytes MSCF. Cabinet files were known originally as Diamond files.To continue, you must first add this website to your trusted sites in Internet Explorer. The site cannot determine which updates apply to your computer or display those updates unless you change your security settings to allow ActiveX controls and active scripting. A cabinet is a single file, usually with a.cab extension, that stores compressed files in a file library. School management software free. The cabinet format is an efficient way to package multiple files because compression is performed across file boundaries, which significantly improves the compression ratio. Microsoft is upgrading the internal format of the CAB file to resolve this issue. All products, tools, and solutions that use the Wsusscan.cab file must be updated by March 2007 to use the new offline scan file. The existing CAB file will continue to be updated and published until March 2007.
The CAB file format may employ the following compression algorithms:
- DEFLATE โ invented by Phil Katz, the author of the ZIP file format
- Quantum compression โ licensed from David Stafford, the author of the Quantum archiver
- LZX โ invented by Jonathan Forbes and Tomi Poutanen, given to Microsoft when Forbes joined the company
A CAB archive can reserve empty spaces in the archive as well as for each file in the archive, for some application-specific uses like digital signatures or arbitrary data. A variety of Microsoft installation technologies use the CAB format - these include Windows Installer, Setup API, Device Installer and AdvPack (used by Internet Explorer to install ActiveX components). CAB files are also often associated[by whom?] with self-extracting programs like IExpress where the executable program extracts the associated CAB file. CAB files are also sometimes embedded into other files. For example, MSI and MSU files usually include one or more embedded CAB files.
- 2Software
File structure[edit]
A CAB archive can contain up to 65535 CAB-folders, (not to be confused with file system folders) each can contain up to 65535 files. Internally, each CAB-folder is treated as a single compressed block, which provides more efficient compression than individually compressing each file.
Every entry in a CAB-folder has to be a file.[1] Due to this structure, it is not possible to store empty folders in CAB archives.
The following shows an example a CAB file structure, demonstrating the relationship between CAB-folders and files:
CAB file | ||
1st CAB-folder
| ||
2nd CAB-folder
|
How paths should be handled is not specified in the CAB file format, leaving it to the software implementation. Freedom scientific magic windows 10.
- Some affix file paths to filenames only, as if all files in a CAB archive are in a single folder. IExpress works this way, as does Microsoft Windows Explorer, which can open CAB archives as a folder.
- Some can store the paths, and upon extraction, create folders as necessary. CABARC.EXE and EXTRACT.EXE (tools from Microsoft Cabinet SDK[2]) as well as
lcab
[3] andcabextract
[4] (third-party open-source tools) work this way. - EXPAND.EXE, only since version 6 (which is included from Windows Vista to above) can extract files to their paths. The previous versions don't do it.[5]
Software[edit]
Microsoft Windows[edit]
Developer(s) | Microsoft |
---|---|
Operating system | Microsoft Windows |
Type | Command |
License |
Microsoft Windows supports extracting the contents of a CAB archive files using File Explorer, Setup API, and using the command-linecommands
expand.exe
and extract.exe
.The
makecab.exe
command is used to create CAB archives:- Compress a single file into a CAB archive
makecab.exe <input_file>[ <output_file>]
- Read the diamond directive file (with
.ddf
filename extension) and create a CAB archive containing multiple files in a flat or hierarchical structure like a file system.
makecab.exe /F <diamond_directive_file>[ <output_file>]
Third-party support[edit]
![Microsoft Microsoft](https://thewindowsclub-thewindowsclubco.netdna-ssl.com/wp-content/uploads/2017/07/extract-cab-files-expand.png)
Other well-known software with CAB archive support includes WinZip, WinRAR or 7-Zip. However, fewer programs can create CAB archives. For a full list, see Comparison of file archivers ยง archive formats.
Related formats[edit]
The
.cab
filename extension is also used by other installer programs (e.g. InstallShield) for their own proprietary archiving formats. InstallShield uses zlib for compression (see Deflate), but their headers are not the same as for Microsoft CAB files so they are incompatible and cannot be manipulated or edited with the programs that are made for standard Cabinet format. Specialized third-party utilities, such as Unshield,[6] can extract this specific proprietary format.https://yellowcoupons749.weebly.com/abandonware-games-online.html. Microsoft Publisher has a 'Pack and Go' feature that bundles a publisher document, together with all external links, into a CAB file with a
.PUZ
extension. These files are meant to be activated with a companion .EXE file which is distributed along with the .PUZ
file. These files may be opened with any CAB file extraction program.Microsoft Update Cab File Download
Application in Component-Based Servicing and related bug[edit]
Windows (at least versions 7, 8, and 2008 R2 (on windows 10 at that location no cab are found)) uses the
.cab
format to archive its Component-Based Servicing (CBS) log, which is kept in the folder C:WindowsLogsCBS
. A bug in the compression process can cause run-away generation of useless log files both in that folder and in C:WindowsTemp
, which can consume disk storage until completely filling the hard drive.[7][8] Deletion of the files without following a specific procedure[8] can cause the deleted files to be regenerated at an increased pace.Microsoft Cab Download
See also[edit]
References[edit]
Microsoft Office Cab Files 2017
- ^https://msdn.microsoft.com/en-us/library/bb267310.aspx Microsoft Cabinet Format
- ^'Microsoft Cabinet Software Development Kit'. Support. Microsoft. Retrieved 27 March 2013.
- ^'lcab'. Freecode. Dice. Retrieved 27 March 2013.
- ^'cabextract'. Freecode. Dice. Retrieved 27 March 2013.
- ^'[Undocumented] [Bugs] Expand.exe (more about it) (Page 1) / Windows CMD Shell / SS64 Forum'. ss64.org. Retrieved 21 April 2018.
- ^'twogood/unshield'. GitHub. Retrieved 21 April 2018.
- ^'Clean Up Component-Based Servicing logs'. Microsoft TechNet. 7 July 2017.
- ^ abLeonhard, Woody (25 August 2016). 'Windows 7 log file compression bug can fill up your hard drive'. Computerworld. Retrieved 8 January 2019.
External links[edit]
- Microsoft Cabinet SDK - updated versions of these resources are available in the Microsoft Windows SDK
- Expand Command Reference - Windows XP Professional Product Documentation
- Cabinet Software Development Kit (CAB SDK) - downloads of all Microsoft CAB SDK versions (free)
Warriors game download.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Cabinet_(file_format)&oldid=912388724'