I am running DPINST.exe on a variety of machines, and it is not really an error, I would just like to be able to get rid of the message that asks if I would like to keep the existing driver.

What I want is for DPINST.exe to ALWAYS keep the existing driver, and not ask me every time.

Would this be found in DPInst.xml?

<?xml version="1.0" ?>
  <dpinst>
    <search>
      <subDirectory>*</subDirectory>
    </search>
   <scanHardware/>
   <legacyMode/>
   <promptIfDriverIsNotBetter/>
  </dpinst>

What has worked for me so far is to delete <promptIfDriverIsNotBetter/>, DPINST.exe no longer askes me if I want to keep the existing drivers, but now I'm not sure if it is overwriting the drivers anyways, or leaving the one that is already there.

Glad you don't want to know what tonal value the flames are!  big_smile

DPINST.exe 2.0.1.0
No specific machine.
OS: XP, and Vista

Thanks for the response, but I'm not sure what  you mean.

What I am trying to do is get rid of the message that says "your machine already has the best driver for this device, would you like to replace it?"

I install drivers via usb on quite a few machines, and would really like to have this just default to answer "no" and keep installing drivers.

thanks!

Is there a way to set this to always default as "no" so that it never pops up and asks?


I install driver packs post installation off of  a usb drive.