How to Install .CAB File on Windows
Scenario : You downloaded a file that you required urgently but its format is .cab. What do you do with it ??
Solution : You know what to do when the files are .exe executable or .msi Windows installer file format, but what the hell do you do with .cab ??
The .cab Cabinet file is a compressed archive that cannot be ran or executed directly. However, Windows has built-in support to open and view .cab archive content, but not outright install the .cab even if it’s part of an update or hotfix. In order to install a manually downloaded .cab file, use the following trick that makes use of pkgmgr.exe (Windows Package Manager) instead.
Open an elevated privileges command prompt as administrator, and run the following command to install and integrate the Cabinet archive:
pkgmgr /ip /m:<path><file name>.cab /quiet
start /wait pkgmgr /ip /m:<path><file name>.cab /quiet
Replace <path> with the path (location) to the .cab file, and <file name> with the actual file name of the .cab file, without parenthesis. If the Cabinet file is located on the current directory (same directory where command is ran, the path can be skipped.
A complete list of the commands that can be used with pkgmgr is shown below (for the power users) :
Tip: If you intend to save an installation log, append the /l:<path><file name>.log to the end of the command. Again, replace <path><file name>.cab with the file name of log file to save to with its folder location (path). Also if you do not want to restart at the end of installation, use the switch /norestart
If you are unable to use the command, then it might be because you are missing the Package Manager(pkgmgr.exe in Win/System32) file, in that case, i’m attaching the file here. Use it well!!!! 🙂
[Download PkgMgr.exe] [Password is Obin]