Skip navigation

JSI Tip 1972. Right-clicking an .INF files generates 'Installation failed'?

When an ordinary users right-clicks on an .INF file, they receive Installation failed.

This is caused by Setupapi.dll needing to write information from the \[DefaultInstall\] section to the registry at HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce. Since ordinary users do not have Full Control on this key, Setupapi.dll issues the Installation failed.

The only solution is to install as a member of the local Administrators group or to grant the user Full Control of this key.

NOTE: You can use Regedt32 to grant the required permissions or you can use RegDACL.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish