PC Review


Reply
Thread Tools Rate Thread

Device installation

 
 
Anthony Rios
Guest
Posts: n/a
 
      23rd Dec 2003
Hello all,

I have developed a device which uses the standard usbstor.sys driver.
During installation of its support software, it is not likely that the
device
is present. Therefore, the device driver (pnp) part of the installation is
not done until the end user plugs in the device for the first time. Then
upon connection for the first time the end user gets the "found new
hardware" dialog. I would like to install the appropriate files, registry
entries, etc. so that the PnP Manager does not display the "Found new
hardware" screens when the device is first plugged in but I have not found
any reference as to how to do that.

Can someone point me to some sample code? I have read through most
of the SetupDi stuff but I cannot seem to get the idea of how they all come
together to perform this task. I know I will need to first call
SetupDiGetClassDevs then probably SetupDiCreateDeviceInfo but what
ClassGuid or deviceName do I pass to it?

Any information would be most appreciated.

Thanks.

-Tony


 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a
 
      24th Dec 2003
> hardware" dialog. I would like to install the appropriate files, registry
> entries, etc. so that the PnP Manager does not display the "Found new
> hardware" screens when the device is first plugged in but I have not found
> any reference as to how to do that.


The function name is SetupCopyOEMInf.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
(E-Mail Removed)
http://www.storagecraft.com


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB device found, installation failed becasue a function driver was not specified for this device instrance jywu1@hotmail.com Microsoft Windows 2000 2 2nd Feb 2006 02:00 AM
USB device found, installation failed becasue a function driver was not specified for this device instrance jywu1@hotmail.com Microsoft Windows 2000 Hardware 2 2nd Feb 2006 02:00 AM
"You can only install one device at a time. Another Device Installation is underway, when it is finished you can try this wizard again." User Windows XP Hardware 1 15th Oct 2004 11:31 PM
Device installation - 'another device installation is underway' error Pete Windows XP General 0 21st Feb 2004 05:19 PM
XP installation fails at Device Installation AC Windows XP Setup 0 6th Jan 2004 01:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:48 PM.