Tech Support > Microsoft Windows > Drivers > Re: Driver installation
Re: Driver installation
Posted by Ray Trent on April 5th, 2004


Write a setup program that a) calls SetupCopyOemInf to prepare the
driver for automatic installation when the hardware is plugged in and b)
calls UpdateDriverForPlugAndPlayDevices to install on any hardware that
has already been plugged in.

Then, get your driver signed (or the OS will still pop up the warnings
and Add New Hardware wizard).

This will work for Win2k plus. Other techniques (with no completely
satisfactory solution possible, unfortunately) can be used for pre-2k OSs.

Mingfa wrote:

--
.../ray\..

Posted by Mingfa on April 6th, 2004


----- Ray Trent wrote: ----

I tried this and it is working fine. I am able to install the driver without user intervention. Thanks a lot


I have the catalog file which is certified by Microsoft. But still I am getting the dialog saying "driver has not passed the logo testing....". Does "SetupCopyOemInf " call copies cat file also ? where should I keep the cat file ? I tried putting it inside /Windows/system32/catRoot folder but didn't succeed. Can you please help me in resolving this problem

Regard
Mingf



Posted by Ray Trent on April 6th, 2004


Hmmm. Normally, it just goes in the same directory as the INF file
before installation. SetupCopyOemInf should do the right thing. I'm
assuming you've properly referenced the .cat file in the INF file, right?

If so, sounds like it could be a problem with some file changing after
the signature was created (or, unlikely, but possibly, a faulty
signature... WHQL sometimes screws up :-). You should be able to open
the .cat file by double clicking on it and searching around in the guts
to figure out what's wrong.

Mingfa wrote:

--
.../ray\..


Similar Posts