Hi!

I've written a driver that contains a "virtual bus" and a "virtual
serial port". The bus allows installation, uninstallation and
enumeration of virtual serial ports. Everything is contained within the
same driver.

When a new virtual serial port is installed, I want the installation to
proceed without user intervention, except for accepting that an
unsigned driver is being installed. However, as it is now, the user
must locate the appropriate inf when the port is installed. This is not
good.

Can I make windows automatically find the inf-file? I've tried putting
the inf pretty much everywhere (\windows, \windows\system32,
\windows\system32\drivers) but it still isn't found.

I set the hardware/device/compatible ID of the physical devices
enumerated by the bus to "myBus\myDevice" and I have a corresponding
field in the inf:

[DeviceList]
%DESCRIPTION%=DriverInstall,myBus\myDevice

Thanks in advance,
Nille

Re: Silent Install by Eliyas

Eliyas
Wed Apr 12 10:19:45 CDT 2006

You have to preinstall the INF file using SetupCopyOEMInf.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/setupapi/setup/setupcopyoeminf.asp

There is also Driver Install Framwork provides infrastructure and tools to
simplify driver installation. You should make use of that.

http://www.microsoft.com/whdc/driver/install/DIFxtls.mspx

You will lot of useful information on installation at:
http://www.microsoft.com/whdc/driver/install/default.mspx

-Eliyas



Re: Silent Install by Nille

Nille
Wed Apr 12 11:35:50 CDT 2006

Great! Thank you very much!

Regards,
Nille