Installing updates via Windows Update can be problematic sometimes. Downloads may stall at a specific stage either due to problems with the Windows Update server or the Content Delivery Network (CDN) that hosts the update in your region. It could also be possible that the Windows Update or BITS Services configuration on the local computer is at fault.
The Microsoft Update Catalog provides updates, including drivers, that are for distribution across a network. Windows Update packages downloaded from the Microsoft Update Catalog can be used in single systems as well.
Windows Update packages can come in two formats. One is “Windows Update Standalone Package” format (.msu extension), and the other, a Cabinet file (.cab).
Windows Update Standalone Installer (.msu file) contains the following items:
- Windows Update metadata: Describes each update package that the .msu file contains.
- One or more .cab files: Each .cab file represents one update.
- An .xml file: This .xml file describes the .msu update package.
- A properties file: This file contains string properties that Wusa.exe uses. For example, this file contains the title of the associated article in the Microsoft Knowledge Base, KB ID and the “Package Type” information.
When you run a .msu file, the Windows Update Standalone Installer (wusa.exe) extracts the package contents to a folder and reads the Windows Update metadata to search for available updates for your computer.
Let’s say; your system has a more recent update already installed, or the update you’re trying to apply is for a different processor architecture (x86 vs. x64), WUSA would stall the installation process by throwing the error message The update is not applicable to your computer.
If WUSA determines the update applies to your system, it then launches the installation process using Windows Update Agent API.
Installing an .MSU Update Package
To install an MSU file, all you need to do is double-click the file. However, if you need to use additional setup parameters, such as “/quiet” (for silent installation), refer Microsoft KB article Description of the Windows Update Standalone Installer in Windows.
Cabinet Files (.CAB) are compressed archives that contain system files or drivers. Occasionally Windows Update packages come in CAB format which doesn’t have an installation engine, XML file or the metadata file. For example, the update package for Cumulative Update for Windows 10 KB3194496 came in .cab format instead of the usual .msu format.
Installing a .CAB Update Package
To apply the CAB update, you need to use DISM, which is short for Deployment Image Servicing and Management Tool.
Open an elevated or Admin Command Prompt window, and type:
dism /online /add-package /packagepath:"cab_package_path"
dism /online /add-package /packagepath:"f:\wu catalog\windows10.0-kb3194496-x64.cab"
Press ENTER. That applies the KB3194496 update.
If a Windows Update package came in both formats (.cab and .msu), as in the case of KB3197954, I would opt for the .msu version always.
Add Install option to the right-click menu for .CAB Files
You can also add the “Install” command for .CAB files right-click menu so that you don’t have to run the DISM command-line manually.
Copy the following lines to Notepad, save it with the .REG extension. Then double-click the file to apply the contents to the registry.
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs] [HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs] @="Install" "HasLUAShield"="" [HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs\Command] @="cmd /k dism /online /add-package /packagepath:"%1""
This adds the “Install” command to the right-click menu for .CAB files.
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in Windows — delivering support for Microsoft's consumer products. He has been a Microsoft MVP (2003-2012) who contributes to various Windows support forums.