Hey All,
I have these Window’s device drivers that can be installed by right clicking on an inf file and selecting install. Then when the device is plugged into a USB port, the New Hardware Found Wizard will pop up and the user can instruct it to find and install the drivers automatically. Is there an easy way to bypass the New Hardware Wizard that pops up when the device is detected, and have Windows find and install the driver automatically without user input? Would this require plug n play or is there another way? All I have access to modifying is the inf file, but I think I read here that drivers made for 2k+ pretty much need to support plug n play. Any advice or links would be greatly appreciated!
Thanks,
Andrew
>install the drivers automatically. Is there an easy way to bypass the New
Hardware Wizard that pops up when the device is detected, and have Windows
find and install the driver automatically without user input?
This will require a) to have the drivers WHQL-signed AND b) to preload the
drivers to the machine using SetupCopyOEMInf API. I think that DIFxApp and
DPInst are the binaries provided by MS to call SetupCopyOEMInf.
So, the user runs some installation package, then connects the device for a
first time.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
Thanks for the reply. The drivers arent WHQL signed but I can turn the windows warning option off for that. My main concern is having windows detect and install the drivers automatically when the device is detected instead of having the user tell the hardware wizard to detect and install the drivers automatically. Its kind of like the hardware wizard is an unnecessary step. Is this possible at all?
Hello,
You can do that by making driver code compatible
to plug and play.
Regards
Ravi
— xxxxx@hotmail.com wrote:
Thanks for the reply. The drivers arent WHQL signed
but I can turn the windows warning option off for
that. My main concern is having windows detect and
install the drivers automatically when the device is
detected instead of having the user tell the
hardware wizard to detect and install the drivers
automatically. Its kind of like the hardware wizard
is an unnecessary step. Is this possible at all?
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR
Online at
http://www.osronline.com/page.cfm?name=ListServer
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
Look for silentinstall member flag in DEVICE_CAPABILITIES structure and also
same flag in inf file install section. But I feel they come into picture
post-installation. Probably, the bus driver which is reporting the device is
the one who should report your device’s silentinstall property, though Iam
not sure how it is done.
On 10/6/06, xxxxx@hotmail.com wrote:
>
> Thanks for the reply. The drivers arent WHQL signed but I can turn the
> windows warning option off for that. My main concern is having windows
> detect and install the drivers automatically when the device is detected
> instead of having the user tell the hardware wizard to detect and install
> the drivers automatically. Its kind of like the hardware wizard is an
> unnecessary step. Is this possible at all?
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>