Page 1 of 2 12 LastLast
    CAB file - Add Install to Context Menu in Windows 10

    CAB file - Add Install to Context Menu in Windows 10

    How to Add or Remove Install CAB Context Menu in Windows 10

    Published by BrinkCategory: Customization
    06 Oct 2016 Last Updated: 10 Nov 2016 at 15:16

    Published by


    Brink's Avatar
    Administrator

    Posts: 24,360

    Show Printable Version 


    How to Add or Remove Install CAB Context Menu in Windows 10

    information   Information
    A cabinet is a single file, usually with a .cab extension, that stores compressed files in a file library. Some Windows 10 updates are redistributed in the .cab archive format.

    You can use the DISM /Add-Package command with Windows cabinet (.cab) files to install or remove updates, service packs, language packs, and to enable or disable Windows features.

    This DISM command can be used to make installing a .cab updates (ex: KB3197356) easy with a single click in its context menu.

    This tutorial will show you how to add or remove Install from the context menu of .cab files for all users in Windows 10.

    You must be signed in as an administrator to be able to add, remove, and use the Install context menu.

    Note   Note
    Usage of "Install" .cab context menu:

    1) Right click or press and hold on a .cab file (ex: KB3197356).

    2) Click/tap on Install in context menu.

    3) Click/tap on Yes in UAC prompt to approve.
    Name:  UAC.png
Views: 13195
Size:  13.8 KB

    4) When the operation has completed successfully, you may need to type Y in the command prompt to restart the computer to finish installing.
    Click image for larger version. 

Name:	CAB_DISM_command_prompt.png 
Views:	262 
Size:	22.4 KB 
ID:	104774


    EXAMPLE: Install CAB context menu
    Name:  CA_Install_context_menu.jpg
Views: 13171
Size:  42.5 KB


    Here's How:

    1. Do step 2 (add) or step 3 (remove) below for what you would like to do.


     2. To Add Install to Context Menu of CAB Files

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Add_Install_to_cab_context_menu.reg

    download


     3. To Remove Install from Context Menu of CAB Files

    NOTE: This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Remove_Install_from_cab_context_menu.reg

    download

    4. Save the .reg file to your desktop.

    5. Double click/tap on the downloaded .reg file to merge it.

    6. If prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7. You can now delete the downloaded .reg file if you like.


    That's it,
    Shawn


  1.    24 Oct 2016 #1
    Join Date : Aug 2014
    Forever West
    Posts : 3,913
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    Step 2 does not work for me, even after rebooting.
      My ComputerSystem Spec
  2.    24 Oct 2016 #2
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Hello Berton,

    What doesn't work for you?

    Is it not adding "Install" to the context menu of .cab files for you?
      My ComputersSystem Spec
  3.    24 Oct 2016 #3
    Join Date : Aug 2014
    Forever West
    Posts : 3,913
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    No, the Install and Merge don't add it and I guess I don't have a firm grip on the line 1) Right click or press and hold on downloaded .cab file (ex: KB3197356).
      My ComputerSystem Spec
  4.    24 Oct 2016 #4
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Ah, ok. That was just an example.

    Merging the .reg file in step 2 should have added "Install" to the context menu of .cab files for you.

    As a test, you could just rename a new .txt file's extension to .cab to see if "Install" is added or not.
      My ComputersSystem Spec
  5.    24 Oct 2016 #5
    Join Date : Aug 2014
    Forever West
    Posts : 3,913
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    Working through this showed me that somewhere in the last couple of updates I lost my Microsoft Account, just had to work through setting up a new one during the last 30 minutes, what a pain. Maybe Microsoft decided to finally start getting rid of Hotmail.com accounts? Had to create one in Outlook.com to get it to work.

    No, renaming any file doesn't bring up the Install. It wasn't the KB number I had the issue with, just the statement of 1) Right click or press and hold on downloaded .cab file.

    EDIT: I just compared the .reg file with the entries in the Registry and the first one of HasLUAShield is in RunAs but the entry in Command isn't there.
      My ComputerSystem Spec
  6.    24 Oct 2016 #6
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    It sounds like the .reg file may not have successfully merged completely. Try downloading a new copy and merge it again to see if it may merge.
      My ComputersSystem Spec
  7.    24 Oct 2016 #7
    Join Date : Aug 2014
    Forever West
    Posts : 3,913
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    I ran the Remove first then ran the Add Install .reg file.
    This is what I get in the download:

    Windows Registry Editor Version 5.00

    ; Created by: Shawn Brink
    ; Created on: October 6th 2016
    ; Tutorial: CAB file - Add Install to Context Menu in Windows 10 - Windows 10 Forums


    [-HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs]

    [HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs]
    @="Install"
    "HasLUAShield"=""

    [HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs\Command]
    @="cmd /k dism /online /add-package /packagepath:"%1""
    On the RunAs entry the "HasLUAShield"="" part is on the line below (Default) and on the Command entry the other/long line is on the (Default), no other lines below it.
    Click image for larger version. 

Name:	AddInstall.png 
Views:	110 
Size:	14.2 KB 
ID:	107438

    That whole section:AddInstall.reg
      My ComputerSystem Spec
  8.    24 Oct 2016 #8
    Join Date : Oct 2013
    Posts : 24,360
    64-bit Windows 10 Pro build 17017
    Thread Starter

    That looks correct for the registry. Do you have "Install" in the context menu of .cab files now?
      My ComputersSystem Spec
  9.    24 Oct 2016 #9
    Join Date : Aug 2014
    Forever West
    Posts : 3,913
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    No, not showing up. Guess I can wait to get the update. My concern now is if this modification doesn't work what else may not work, especially when installing programs.
    Click image for larger version. 

Name:	AddInstallcab.png 
Views:	153 
Size:	139.7 KB 
ID:	107441
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Tutorial Category
Customization Run as administrator - Add to PS1 File Context Menu in Windows 10
How to Add 'Run as administrator' to PS1 File Context Menu in Windows 10 Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run...
Tutorials
Customization Add Batch File to New Context Menu in Windows 10
How to Add Windows Batch File to New Context Menu in Windows 10 A .bat file is a batch file that consists of a series of commands to be executed by the command line interpreter, stored in a plain text file. The New context menu allows users...
Tutorials
Customization Add Run as administrator to Context Menu of MSI Files in Windows 10
How to Add 'Run as administrator' to MSI File Context Menu in Windows 10 Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run...
Tutorials
Customization Add Run as administrator to Context Menu of VBS Files in Windows 10
How to Add 'Run as administrator' to VBS File Context Menu in Windows 10 Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run...
Tutorials
Customization Add VBScript File to New Context Menu in Windows 10
How to Add VBScript Script File to New Context Menu in Windows 10 A .vbs file is a VBScript (Visual Basic Script) file written in the VBScript scripting language that can be executed within Windows or Internet Explorer via the Windows-based...
Tutorials
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 19:05.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums