Batch installation without typing DISM commands
InstallCAB.bat is a focused front end for DISM /Online /Add-Package. It opens a Windows file picker, lets you select several CAB files at once, installs them one after another, and then presents the complete result in a readable Windows dialog.
Have you ever downloaded a Windows CAB update and wondered why double-clicking it does not simply install it?
Some Windows updates and packages are distributed as CAB files that must be installed through DISM rather than opened like an ordinary archive. The native command works well, but typing full paths, quoting filenames correctly and repeating the command for several packages adds unnecessary friction to a routine maintenance task.
Do you have several CAB packages to install and just want Windows to process them in one run?
InstallCAB.bat keeps DISM as the installation engine but removes the repetitive command-line work. Select the compatible CAB files in a normal Windows file dialog, let the script install them sequentially, and review one clear result summary at the end.
/Add-Package.
What the script actually does
- Checks for Administrator rights before doing anything
- Automatically relaunches itself with UAC elevation when required
- Uses a standard Windows Open File dialog instead of requiring typed paths
- Allows multiple
.cabfiles to be selected in one operation - Processes selected packages sequentially
- Uses
DISM /Online /Add-Package /NoRestartfor each CAB - Keeps automatic restart disabled while packages are being installed
- Recognizes DISM exit code
3010as success with reboot required - Tracks successful CAB filenames separately
- Tracks failed or missing CAB filenames separately
- Shows total attempts, successes and failed/skipped counts
- Displays the complete result in a scrollable WinForms summary dialog
Multi-file workflow
Run the BAT
If the process is not already elevated, Windows asks for Administrator approval and the script relaunches itself.
Select CAB files
A native file picker opens with multi-select enabled. Choose one or several CAB update packages.
Review the result
Each package is passed to DISM. When all are finished, a dialog lists successful and failed/skipped CABs and indicates whether a reboot is required.
Result handling
The script distinguishes three important outcomes:
0— the package was installed successfully3010— the package was installed successfully but Windows requires a reboot- Other DISM return codes — treated as an installation failure
- Missing files — skipped and included in the failed/skipped list
/NoRestart. Even when DISM reports that a restart is required, InstallCAB.bat only reports that condition; it does not restart the computer automatically.
Script exit codes
0when processing completes without a failed package1when no CAB file is selected2when one or more packages fail or are skipped
Built only from Windows components
The utility uses CMD, Windows PowerShell, WinForms and DISM. There is no separate installer or third-party runtime in the source you supplied.