Though not often, Microsoft redistributes Windows updates and first-party software in .cab files from time to time. If you’ve encountered CAB files, here’s how you can install CAB file in Windows 10.
If you don’t know, .cab or cabinet is a simple file extension mainly used to compress files in a file library and store them. Typically, most developers, including Microsoft, use this file format for its efficient compression methods. Additionally, just like the regular zip files, large CAB files can be split into multiple files to make transferring easy.
Without further ado, let me show you how to install .cab files in Windows.
Steps to Install CAB Files in Windows
You cannot install a CAB file by double-clicking on it. Instead, you have to use the DISM tool.
1. First, open the start menu, search for “Command Prompt,” right-click on it and select the “Run as administrator” option.
2. In the Command Prompt window, use the below command. Relace the dummy path with the actual path of the CAB file.
DISM /Online /Add-Package /PackagePath:"X:\path\to\file.cab"
For example, if the .cab file is located in the root of the D drive, the command with look something like this.
DISM /Online /Add-Package /PackagePath:"D:\myfile.cab"
For 32-bit users only
If you are on a 32-bit Windows 10 system and receiving an error while using the above command or if the Command Prompt is trying to run the 64-bit version on the DISM tool, use the below command. Again, don’t forget to replace the dummy path with the actual path of the CAB file.
"C:\Windows\SysWOW64\Dism.exe" /Online /Add-Package /PackagePath:"X:\path\to\file.cab"
That is all. It is that simple to install CAB files in Windows 10. If you are stuck or need some help, comment below, and I will try to help as much as possible.
If you like this article, you might also want to learn how to install Linux subsystem in Windows 10.