A. A. The options given from a context menu are derived from its file type entry under HKEY_CLASSES_ROOT\inffile. The first item to check is that .inf is associated with inffile, and this can be checked with

C:\> assoc .inf
.inf=inffile

If you do not get the above response enter the command

C:\> assoc .inf=inffile

The next step is to check the context menu item "install" exists for inffile:

  1. Start the registry editor (regedt32.exe)
  2. Move to HKEY_CLASSES_ROOT\inffile\shell
  3. Check for a sub-key "Install", if it does not exist select "Add Key" from the Edit menu and enter a name of Install.
  4. The default entry from Install (called <No Name>) should be &Install. If it does not exist select "Add Value" from the Edit menu, do not enter any name, select type REG_SZ and click OK. It will then ask for a string which should be "&Install" (don't actually enter the quotes). Click OK
  5. Under the Install key should be another key, command. If this does not exist, again create using "Add Key" from the edit menu.
  6. Under the command key should be a default value (called <No Name>) which should have the data "%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1" in it. The the default key is missing exist select "Add Value" from the Edit menu, do not enter any name, select type REG_EXPAND_SZ and click OK. It will then ask for a string which should be "%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1" (don't actually enter the quotes). Click OK
  7. Close the registry editor

You should now have an install option for .inf files.