I’m struggling with just what to do here short of writing my own
installation program.
I want to preinstall a driver if the hardware is not installed yet, and
I also want to force a rescan of the hardware in case someone had
uninstalled teh device by using device manager (I noticed the device
goes away if I run dpinst /u as well).
Can I do what I want to do with DPInst? It doesn’t look like it from the
docs. It appears that the /SH option doesn’t actually do a rescan of the
hardware at all.
I suggest renaming that option to /E for “exists” - it will only install
the driver if the hardware exists in the system.
I also suggest having a new option /SH (or RH?) that actually does force
a rescan of the hardware.
Beverly