Sunday, October 11, 2015

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.

3 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. I use windows 10 so may i get an update of it? Also i want to know about
    InstallAware performance ?

    ReplyDelete