I have one last question I think. How do I install a INF by the command line?
The INF is an ActivityMonitor, and I have been testing it using the scanner example in WDK 7600. dpinst /LM does not work and it appears neither does rundll32.exe, however right clicking on the INF and installing it that way does.
Does anyone know why this is? or if I can be helped?
The INF is an ActivityMonitor, and I have been testing it using the scanner example in WDK 7600. dpinst /LM does not work and it appears neither does rundll32.exe, however right clicking on the INF and installing it that way does.
Does anyone know why this is? or if I can be helped?
What a right-click install does is call InstallHinfSection from
setupapi.dll to run the [DefaultInstall] section. So, you should be
able to do this:
rundll32 setupapi.dll,InstallHinfSection DefaultInstall 132
c:\path\to\xxx.inf
One common problem is the failure to supply a complete path. The
working directory provided to the DLL is not entirely clear.
Devcon won’t do it, because it’s not a device at all. This is
essentially a poor man’s software installer.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
I have one last question I think. How do I install a INF by the command
line?
The INF is an ActivityMonitor, and I have been testing it using the scanner
example in WDK 7600. dpinst /LM does not work and it appears neither does
rundll32.exe, however right clicking on the INF and installing it that way
does.
Does anyone know why this is? or if I can be helped?