Home  >  Article  >  How to install CAB files on Windows 11

How to install CAB files on Windows 11

WBOY
WBOYforward
2023-04-30 22:10:0910589browse

What is a CAB file? The extension of

CAB file is .cab, which is the abbreviation of Windows Cabinet file. This is a compressed file typically used to compress software installation packages such as device drivers or update files.

CAB files support lossless compression, which makes the format ideal for compressing files where it is critical that files can be extracted accurately, such as drivers and other updates.

How to install a CAB file on Windows 11 using Command Prompt

There are several ways to install a CAB file on Windows 11. One of the methods is to use command prompt to extract and install the files.

You can also use the newer Windows PowerShell or Windows Terminal applications. The following commands work for both applications.

To install a CAB file on Windows 11 using Command Prompt:

  1. Open File Explorer and navigate to where you want to install CAB file.
  2. Right-click the file and select Copy As Path.
    如何在 Windows 11 上安装 CAB 文件
  3. Click the Search icon.
    如何在 Windows 11 上安装 CAB 文件
  4. Type CMD in the search field.
    如何在 Windows 11 上安装 CAB 文件
  5. Click Run as administrator.
    如何在 Windows 11 上安装 CAB 文件
  6. Confirm that you want to allow this app to make changes to your computer.
  7. In the Command Prompt window, type dism /Online /Add-Package /Package Path:
    如何在 Windows 11 上安装 CAB 文件
  8. Press Ctrl VPaste the location of the CAB file. Make sure there are no spaces after PackagePath.
    如何在 Windows 11 上安装 CAB 文件
  9. Press Enter to start the installation.
    如何在 Windows 11 上安装 CAB 文件
  10. Once completed, you may need to restart your computer for the update to take effect.

How to extract a CAB file on Windows 11

If you want to install a driver packaged in a CAB file, you need to first extract the files contained in the CAB file. This is easy on Windows 11 – you can extract the CAB file directly from Windows Explorer.

To extract the CAB file on Windows 11:

  1. Navigate to the CAB file in Windows Explorer.
  2. Double-click the CAB file.
  3. If prompted, select Windows Explorer as your preferred method for opening CAB files.
  4. You will see all extracted files. Press Ctrl A to select them all.
    如何在 Windows 11 上安装 CAB 文件
  5. Right click on any file and select Extract.
    如何在 Windows 11 上安装 CAB 文件
  6. Select the folder you want to extract the files to and click Extract.
    如何在 Windows 11 上安装 CAB 文件
  7. The files will now be extracted to the folder you requested.

How to install driver updates from a CAB file on Windows 11

After extracting the contents of the CAB file, you can install the drivers contained within it directly through Windows Device Manager.

Install the driver through Device Manager:

  1. Click the Search icon.
    如何在 Windows 11 上安装 CAB 文件
  2. Start typing Device Manager and double-click the app when it appears.
    如何在 Windows 11 上安装 CAB 文件
  3. Locate the device for which you want to update the driver.
  4. Right click on it and select Update Driver.
    如何在 Windows 11 上安装 CAB 文件
  5. Select Browse my computer for drivers.
    如何在 Windows 11 上安装 CAB 文件
  6. Enter the folder where you extracted the CAB file and click Next.
    如何在 Windows 11 上安装 CAB 文件
  7. If a valid driver is found, it will be installed on your computer.

The above is the detailed content of How to install CAB files on Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete