Hi folks,
Been working on my installation program recently, and almost all is well
apart from one *really annoying* feature. The main device I have acts as
a bus driver, and creates several (about 10) child devices.
Initially, when the hardware is added, and the machine booted, a “found
new hardware” dialog pop up (no surprise there). It’s then possible to
cancel this dialog, and at a later convenient moment, run my install
app. The install app installs the driver for the main device, which
starts up, and then creates all the child devices.
What then happens is that a “found new hardware” dialog pops up for the
first child device, asking if I’d like to search for drivers online.
This is very irritating, as the install app is in the process of
installing the drivers for the child devices.
I’ve tried to get rid of it, but there’s a catch-22: If I install the
drivers for the child devices *after* the main device, then the dialog
pops up, & if you leave it alone, it subsequently goes away as the
install app installs the child drivers. If I install the drivers for the
child devices *beforehand* the annoying dialog *still* pops up.
What’s even more annoying is that it’s possible for the user to then
respond to these popped up dialogs, at which point, my install app and
the user mode PnP manager seem to have a bit of a race to see who can
“install” something appropriate first. NOT what I want!
This seems to happen just under XP service pack 2 - earlier OS’s (2k for
example) would simply allow the install app to complete, and the next
time time PnP dev tree was rescanned (either next reboot, or explicitly
by the install app), they’d just raise a couple of dialogs indicating
things were being installed, and hey-presto, it all worked!
So basically:
- The install looks unprofessional.
- The dialogs raised let the user faff with what should be a smooth
install process.
This is one situation where I feel that the security considerations of
SP2 seem to have made things distinctly worse (if theoretically more
secure) from the users P.O.V.
How do I sort this?
MH.
This email and any attachments is confidential, may be legally privileged and is intended for the use of the addressee only. If you are not the intended recipient, please note that any use, disclosure, printing or copying of this email is strictly prohibited and may be unlawful. If received in error, please delete this email and any attachments and confirm this to the sender.