DPInst.exe Security Prompts Twice for Unsigned Driver

Discussion in 'Windows Vista Drivers' started by Software Engineer, Aug 18, 2006.

  1. Hi there,

    I'm using DPInst.exe (DIFx 2.01) to install two unsigned drivers as part of
    an InstallShield installation (Basic MSI, Developer 8).

    Only on XP do I get driver prompts about continuing the installation during
    the preinstall phase, and again once the hardware is connected.

    Is there a way to silently preinstall and avoid the first (or second)
    unnecessary set of security prompts?

    My dpinst.xml file is fairly basic:

    <?xml version="1.0" ?>
    <package path="LoadEz\LoadEz.inf" />
    <package path="EzUSB\EzUSB.inf" />
    <suppressWizard />
    <suppressAddRemovePrograms />

    DPInst.exe is executed with command line of /LM /PATH "Path to Driver
    Folders", due to eliminate the possibility of known bug with <legacyMode />

    I'm not using <quietInstall /> due to the OS requirement to prompt about
    unsigned drivers that prevents the install from completing.

    Excerpt from LoadEz.inf:


    Also if I have the hardware connected first, skip the Windows driver search
    prompt, and then proceed with the install I receive the initial and
    redundant set of confirm unsigned device driver prompts one after another...
    4 in total whereas only 2 are expected.

    Am I missing something here?

    Frustrated Software Engineer.
    Software Engineer, Aug 18, 2006
    1. Advertisements

  2. Software Engineer

    Ray Trent Guest

    Far as I know, the only way to get rid of the prompts is to get the
    driver signed (it would be rather ridiculous if there were a way to get
    rid of the unsigned driver prompts for an unsigned driver). You're doing
    2 installs, so you need to prompts. Again, rather ridiculous otherwise,
    because someone could just create a driver installer for a signed driver
    that installs any arbitrary unsigned second driver, and again defeat the

    OBTW, don't use Class=USB. That's for USB host controllers, hubs, and
    the like. Either pick a completely new GUID or find another class for
    your device to belong to.

    Ray Trent, Aug 18, 2006
    1. Advertisements

  3. Ray,
    The device driver is actually a USB host controller :)

    I suspect there might not be a way of receiving only one confirm unsigned
    driver prompt on XP if I'm preinstalling to the driver store.

    Interestingly on Vista Beta 2 there was only a single prompt for the user to
    acknowledge. It seemed as though the drivers were tagged as permissible to
    be installed silently when the device was connected later.

    Software Developer.
    Software Engineer, Aug 21, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.