Win10 CAB update package to add right-click installation items graphic tutorial

  
The Win10 CAB how to add the right to install the update package

entry procedure is as follows:
1, Win + R recall press operation, press the Enter key input regedit into the registry editor.
2, located to: HKEY_CLASSES_ROOTCABFolderShell.
3, under the Shell new item (as shown below), named runas.

4, click runas, double-click to the right of the "default", type "install this package" in numerical data (or other similar expressions, we are free).

5, the new string value (see below), named HasLUAShield, numerical data left blank (such an update package since the mounting requires administrator privileges, so this value as data space is placed UAC Icon use).

6, a new entry in the runas (below), named command.

7, Command click, double-click the right "Default", the value in the input data:
cmd /k dism /online /add-package /packagepath: "% 1"

At this point, right click on the CAB installation package file, there should be a "Install this update package" item in the menu. After running, you will be asked for administrator privileges. Click "Yes" to continue the installation. A reboot may be required after installation. For example, if you enter "Y" in the figure below, it will restart. If you want to remove this function, just delete the new runas item in step 3.


Copyright © Windows knowledge All Rights Reserved