Bus driver installation problem...

I’m using the function UpdateDriverForPlugAndPlayDevices to install my bus
driver and all his child devices but I’m not getting the same behavior in
Win2k and WinXp.

In Win2k, when the DeviceCapabilities parameter SilentInstall is set to
TRUE for all the child device, a dialog box appear telling me that the
last child device didn’t start and that I must reboot the computer.
Why the Pnp manager decided to shut down the last child device in this
case? The last PnP calls of the child device were:
IRP_MN_QUERY_DEVICE_CAPABILITIES, IRP_MN_QUERY_PNP_DEVICE_STATE,
IRP_QUERY_DEVICE_RELATIONS (TargetRelation),
IRP_MN_QUERY_DEVICE_RELATION(RemovalRelation), IRP_MN_QUERY_REMOVE and so
on…
When the DeviceCapabilities parameter SilentInstall is set to FALSE for
all
the child device, a dialog appears for the installation of each device and
all the installation go fine.

In WinXp, when the DeviceCapabilities parameter SilentInstall is set to
TRUE, a Wizard dialog box appear for each child device but it disappear
when a call to UpdateDriverForPlugAndPlayDevices is made, in my setup
program, with the proper hardware ID. These dialog box are very annoying
and I’m wondering if there is a way to get rid of them.
When the DeviceCapabilities parameter SilentInstall is set to FALSE, the
same Wizard dialog box appear but I must click the next button and so on
to
continue the installation process because my setup program got interrupted
by them.

Why I’m getting these weird behavior when I’m trying to install my bus
driver and all his child devices with the
UpdateDriverForPlugAndPlayDevices
function?

I’m using the function UpdateDriverForPlugAndPlayDevices to install my bus
driver and all his child devices but I’m not getting the same behavior in
Win2k and WinXp.

In Win2k, when the DeviceCapabilities parameter SilentInstall is set to
TRUE for all the child device, a dialog box appear telling me that the
last child device didn’t start and that I must reboot the computer.
Why the Pnp manager decided to shut down the last child device in this
case? The last PnP calls of the child device were:
IRP_MN_QUERY_DEVICE_CAPABILITIES, IRP_MN_QUERY_PNP_DEVICE_STATE,
IRP_QUERY_DEVICE_RELATIONS (TargetRelation),
IRP_MN_QUERY_DEVICE_RELATION(RemovalRelation), IRP_MN_QUERY_REMOVE and so
on…
When the DeviceCapabilities parameter SilentInstall is set to FALSE for
all
the child device, a dialog appears for the installation of each device and
all the installation go fine.

In WinXp, when the DeviceCapabilities parameter SilentInstall is set to
TRUE, a Wizard dialog box appear for each child device but it disappear
when a call to UpdateDriverForPlugAndPlayDevices is made, in my setup
program, with the proper hardware ID. These dialog box are very annoying
and I’m wondering if there is a way to get rid of them.
When the DeviceCapabilities parameter SilentInstall is set to FALSE, the
same Wizard dialog box appear but I must click the next button and so on
to
continue the installation process because my setup program got interrupted
by them.

Why I’m getting these weird behavior when I’m trying to install my bus
driver and all his child devices with the
UpdateDriverForPlugAndPlayDevices
function?


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com