Though not often, from time to time, Microsoft redistributes Windows updates and other software system and first-party software in .cab files. If you've encountered CAB files, here's how you can install CAB file in Windows 10.
In case you don't know, .cab or cabinet is a simple file extension that is 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. Rather, you have to use the DISM tool.
1. First, open the start menu, search for "Command Prompt", right-click on it and select "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 D drive, the command with look something like this.
DISM /Online /Add-Package /PackagePath:"D:\myfile.cab"
For 64-bit users only
If you are on a 64-bit Windows 10 system and receiving an error while using the above command or if the Command Prompt is trying to run the 32-bit version on 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 help as much as possible.
If you like this article, you might also like to learn how to install Linux subsystem in Windows 10.