Win10 CAB update package adds right-click installation method

  
Win10 CAB update package add right-click installation method

Win10
The specific method is as follows:
1, press Win+R to call out the operation, enter regedit and press Enter to enter the registry editor < Br>2, locate to
HKEY_CLASSES_ROOTCABFolderShell
3, create a new item under the shell (as shown below), name it runas

Win10
4, click runas, double click on the right side & ldquo; default & rdquo ;, in the numerical data, enter "lds; install this update package" (or other similar expression, you are free)

5, create a new string value (as shown below), named HasLUAShield, the value data is left blank Fill in (because the administrator permission is required to install such an update package, this numeric data space is used as a UAC icon)

Win10
6, create a new item under runas (as shown below), named Command

Win10
7, click on command, double-click on the right side "Default", enter in the numeric data:
cmd /k dism /online /add-package /packagepath:“% 1”

At this time, right click on the CAB installation package file, there should be a menu in the menu; install this update package &rdqu o; the project, will require administrator privileges after running, click & ldquo; yes & rdquo; you can continue to install. A reboot may be required after installation. For example, the input below “Y” will restart. If you want to remove this function, just delete the new runas item in step 3.

Win10
If you want to verify whether the right-click menu is valid after the above toss, you can download the Win10 first anniversary update version 14393.5 patch KB3176927 to experiment (other CAB files are also available):
It should be noted that if the soft media compression of the soft media cube and the compression software such as WinRAR are associated with the CAB file, you need to disassociate before you can see the right click menu item, as shown below ——


Copyright © Windows knowledge All Rights Reserved