Steps to Install .CAB file in windows 7 or 8

Question: How to install .cab file? It is just a compressed archive file containing files inside it. It cannot be executed directly. We can extract the contents from the .cab file but how to install it?

Answer: We can use the build in  pkgmgr.exe (Windows Package Manager) to install the .cab file.

Steps: Open an elevated command prompt and run the following command to install the Cabinet file.
Pkgmgr /ip /m:(path to.cab file) /quiet
Example:


start /w Pkgmgr /ip /m:c:\temp\Windows6.0-KB92xxx-x86.cab /quiet
or
Pkgmgr /ip /m:c:\test.cab /quiet


Pkgmgr /? will show the complete list of commands that can be used. Screenshot below.

                                     


You can also take log file for the Installation and Uninstallation using the /l parameter at the end of the command.

Comments

Popular posts from this blog

MSIX - The future universal format

Solution for Error 17002 when uninstalling Office 365 (2016) when apps like word, excel, outlook are open

Exploring Advanced Installer Express free edition to convert legacy apps to UWP