Solved By default at Windows 11 . the context menu of .inf files contain "install" option ?


Bug locker

Well-known member
Member
VIP
Local time
11:27 AM
Posts
377
Location
Athens
OS
Windows 11 Pro
Hey.
I want to add the "install" option at the context menu of .inf files.
I have an older .reg file (i guess for Win 10) but it not works.
The first question is if it exist by default at Win 11.
Thanks.
 
Windows Build/Version
Win 11 pro 23H2 22631.3447

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
I want to add the "install" option at the context menu of .inf files.
Checked on my windows 11, with old contect menu, right click on .inf file works and has an Install option.
Checked in vmware with new windows 11 default contect menu, and right click on .inf file works and has an Install option.

I have an older .reg file (i guess for Win 10) but it not works.
Don't really understand, why you ask to install .inf and then talk about .reg file.
.inf = to install driver
.reg = a file to add/remove objects to/from the register.
Reg files don't have a right click Install options, as there is nothing to install, only information to be added or removed from register.
Then the couse of action would be, to double click the .reg file to execute it. Or you want to write a contect menu to execute .reg files?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Checked on my windows 11, with old contect menu, right click on .inf file works and has an Install option.
Checked in vmware with new windows 11 default contect menu, and right click on .inf file works and has an Install option.


Don't really understand, why you ask to install .inf and then ask for reg file.
.inf = to install driver
.reg = a file to add/remove objects to/from the register.
Reg files don't have a right click Install options, as there is nothing to install, only information to be added or removed from register.
Then the couse of action would be, to double click the .reg file to execute it.


I mean i have a .reg file to add "install" at the context menu of .inf files.
Anyway , i reset it to default via settings and now it has the "install" option (default is the Notepad app). The menu now is :

1714337031568.png
But when i select install at an .inf i take an error "This file hasnt a related application to run this action. Install an app or if already an app is installed , create a relation at the settings page of the default applications".

1714336756267.png

Is that OK or it had to install the .inf ?
Otherwise , which is the command at HKEY_CURRENT_USER\Software\Classes\AppXzwr976v2e060wada4gabrk1x69h2dbwy\Shell\Install\command ?
My current default key at command key is @%SystemRoot%\System32\setupapi.dll,-2002 "%1"
Thanks.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
Don't think that reg file is correct, wierd that it has a visual studio updater icon.


Install key from Install is:

Command C:\Windows\System32\InfDefaultInstall.exe "%1"

Registry location:
Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\shell\Install\command
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Don't think that reg file is correct, wierd that it has a visual studio updater icon.


Install key from Install is:

Command C:\Windows\System32\InfDefaultInstall.exe "%1"

Registry location:
Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\shell\Install\command

Nice. At HKEY_CLASSES_ROOT\SystemFileAssociations , i dont have .inf key.
Instead i have the context menu of .inf files at notepad's key , at :
1714339108416.png

So , i put your default command at Install\command\default and it works fine.
The key point for the users are playing with the file types and context menu is the command InfDefaultInstall.exe "%1"
Solved , thanks. (y)
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus

Latest Support Threads

Back
Top Bottom