Is there anything useful listed in the "Open with >" submenu? Note that 7-Zip is known to mess with certain context menus, too.
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.
The context menu option "install" for installing inf files is present by default, checked in win 7, 10 and 11.
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.
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
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!