[Solved] Install inf file context menu missing

Discussion in 'Windows 10' started by zwastik, Mar 7, 2022.

  1. zwastik

    zwastik MDL Novice

    Dec 10, 2010
    9
    0
    0
  2. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,779
    7,735
    210
    #2 Carlos Detweiller, Mar 7, 2022
    Last edited: Mar 7, 2022
    Is there anything useful listed in the "Open with >" submenu?

    Note that 7-Zip is known to mess with certain context menus, too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,451
    1,345
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,451
    1,345
    120
    You can install files or packages that have a special installer alredy there. Otherwise, you must use a dedicated installation system to install this file, package, or other device. As might expect, this is a driver or controller, and Device Manager is the one to install it. If this doesn't work for you, you need to know how to install your package, so you can write a script for it and add a link to launch it in the submenu, but if you only need it once, why do so much extra work?
    However, if you have such an obsession that you need to be able to install with a right click, please provide the exact tutorial what and where you need to install and surely someone will agree to write you this script or help you. But as long as we don't know what and where to install, you or anyone else can't write any script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,736
    103,792
    450
    #6 Enthousiast, Mar 7, 2022
    Last edited: Mar 7, 2022
    The context menu option "install" for installing inf files is present by default, checked in win 7, 10 and 11.
     
  6. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,451
    1,345
    120
    If it's so, there shouldn't be at all any problem. Or only if the Windows itself is damaged?
    Unfortunately, I don't have either W7 or W11 to watch at the moment.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,736
    103,792
    450
  8. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,456
    60
    #9 George King, Mar 7, 2022
    Last edited: Mar 8, 2022
    You are trying to launch DefaultInstall section (right click and install), but this section doesn't exist in your INF. This require INF modifications.

    EDIT:

    Install this driver into offline system using DISM
    Code:
    dism /image:<path_to_mounted_wim> /add-driver /driver:<path_to_dshidmini.inf>
    
    or online install using PNPUTIL
    Code:
    pnputil /add-driver <path_to_dshidmini.inf> /install
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. zwastik

    zwastik MDL Novice

    Dec 10, 2010
    9
    0
    0
    Seems like dism does not like inf files:
    Code:
    Error                 DISM   DISM Package Manager: PID=6156 TID=2764 Invalid package location specified C:\Users\kjhg55tf\Downloads\dshidmini_v2.2.282.0\x64\dshidmini\dshidmini.inf.  Must be a directory, or a file with a '.mum', '.cab' or '.esd' extension - 
    This worked, thanks!
     
  10. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
     
  11. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,456
    60
    @zwastik Fixed offline integration command
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...