Created
April 25, 2022 08:12
-
-
Save ndkoo/213c6b31e7dd812bbd86cfaec307689b to your computer and use it in GitHub Desktop.
Windows Patch file extract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run Command Prompt (or run as administrator) and use the following syntax to extract .msu file content. | |
expand –f:* <pakcage-name.msu> <destination-folder> | |
Example: | |
expand –f:* Windows6.1-KBXXXXXX-x86.msu C:\\ExtractedMsu\\ | |
After extraction, you can you can install it by using Package Manager with following command line syntax. | |
pkgmgr.exe /n:C:\\ExtractedMsu\\Windows6.1-KBXXXXXX-x86.XML | |
Example: | |
– KBArticleNumber /X:C:\ExtractedPackage | |
Our line: | |
– C:\MS10-005\Download>WindowsXP-KB978706- | |
x86-ENU.exe /x:C:\MS10-005\Extracted | |
Microsoft Update Standalone Package (.msu) | |
expand -F:* update.msu C:<target_dir> | |
cd <target_dir> | |
expand -F:* update.cab C:<target_dir> | |
Microsoft Patch File (.msp) | |
msix patch.msp /out C:<target_dir> | |
msix.zip | |
Windows Installer Package (.msi) | |
msiexec /a setup.msi /qb TARGETDIR=C:<target_dir> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment