6

I'm trying to install .cab file on Windows 8.1. The file contains a driver and was downloaded from the Microsoft Update Catalog. File's path is e:\audio.cab and I use the following command (in elevated mode):

dism /Online /Add-Package /PackagePath:E:\audio.cab /NoRestart

and I get:

An error occured trying to open - audio.cab Error: 0x80070002
Error: 2
The system cannot find the file specified.

Why is that? The path seems valid.

and31415
  • 14,901
alex
  • 751

2 Answers2

6

Microsoft Update Catalog

Apart from updates, the Microsoft Update Catalog also provides driver packaged in cabinet archives. Such drivers are meant to be installed manually after unpacking them, e.g using 7-Zip.


Manually installing a driver

  1. Download and extract the driver package.
  2. Open the Device Manager.
  3. Locate the device you want to update, right-click it, and select Update Driver Software from the context menu.
  4. Click Browse my computer for drivers software.
  5. Click the Browse button, and select the folder where you extracted the driver. Click OK when done.
  6. Click Next. The driver should start installing.
and31415
  • 14,901
-1

Apparently you should add an angle bracket (>) after the drive letter in the package path:

dism /Online /Add-Package /PackagePath:E:\>audio.cab /NoRestart

** Please note the comments below about the exact position of the > angle bracket.

This worked for me with this problem on Windows 10 21H1.

Credit should go to KazuyaKisho on thread: https://social.technet.microsoft.com/Forums/en-US/bfab127c-9199-40b2-9b2a-8aa7ee6e351c/quotthe-system-cannot-find-the-file-specifiedquot-error-when-installing-package-using-dism-and?forum=w7itproinstall

tbigby
  • 101