Driver Installation in Vista using DpInst 2.01

Discussion in 'Windows Vista Drivers' started by Chetan G S, Jul 1, 2008.

  1. Chetan G S

    Chetan G S Guest

    Dear All,

    I have a package which installs device driver on Vista for CardMan SmartCard
    reader. Installation is fine if the hardware is pluged-in during installation.

    The problem occurs, if the package is installed with out the hardware
    pluged-in. After instalallation when the hardware is pluged-in, New Hardware
    Found window pops up.

    Is their a solution for this?

    Also, Is their a method whein we can exit the installation if hardware is
    not connected?

    Kind Regards,
    Chetan G S
    Chetan G S, Jul 1, 2008
    1. Advertisements

  2. Chetan G S

    MSD Guest

    Hi Chetan,

    Could you pls provide me the DPInst command that you are using for this
    I wud probably need to see the flags used by you.

    MSD, Jul 25, 2008
    1. Advertisements

  3. Chetan G S

    Blues42 Guest

    I have the same problem. My device is unsigned and DPInst command is:
    " DPInst /Lm "

    Blues42, Aug 25, 2008
  4. Chetan G S

    MSD Guest

    Please go to C:\Windows and open DPInst.log file in notepad and see the
    information about your driver installation. This file records the
    date,time,location of the files copied to and also contains the error code in
    case of failures.
    Do let me know if there is any error logged during your driver install.
    Is your hardware a plug and play device??

    MSD, Aug 25, 2008
  5. Chetan G S

    Blues42 Guest

    DpInst.log is in below:
    INFO: ****************************************
    INFO: 08/26/2008 09:42:18
    INFO: Product Version
    INFO: Version: 5.1.2600 Service Pack 2
    INFO: Platform ID: 2 (NT)
    INFO: Service Pack: 2.0
    INFO: Suite: 0x0100, Product Type: 1
    INFO: Architecture: X86.
    INFO: Interactive Windows Station
    INFO: Command Line: 'DPInst.exe /Lm '
    INFO: DPInst is a multi-lingual binary.
    INFO: ****************************************
    INFO: Current working directory: 'F:\drv'
    INFO: Running on path 'F:\drv'
    INFO: No valid 'dpinst.xml' file provided.
    INFO: Install option set: legacy mode on.
    INFO: Found driver package: 'F:\drv\drv42.inf'.
    INFO: Preinstalling 'f:\drv\drv42.inf' ...
    INFO: ENTER: DriverPackagePreinstallW
    INFO: Copied 'drv42.inf' to driver store...
    INFO: Commiting queue...
    INFO: Copied file: 'f:\drv\drv42.sys' ->
    SUCCESS:f:\drv\drv42.inf is preinstalled.
    INFO: RETURN: DriverPackagePreinstallW (0x0)
    INFO: ENTER: DriverPackageGetPathW
    SUCCESS:Found driver store entry.
    INFO: RETURN: DriverPackageGetPathW (0x0)
    INFO: ENTER: DriverPackageInstallW
    INFO: Installing INF file
    'C:\WINDOWS\system32\DRVSTORE\drv42_653ECE0A554B7F8B365D8CFA8F523FE890C851A2\drv42.inf' of Type 6.
    INFO: Looking for Model Section [Manufacture.NTx86]...
    INFO: No matching devices found in INF
    "C:\WINDOWS\system32\DRVSTORE\drv42_653ECE0A554B7F8B365D8CFA8F523FE890C851A2\drv42.inf" on the Machine.
    INFO: No drivers installed. No devices found that match driver(s)
    contained in
    SUCCESS:Installation completed with code 0xE000020B.
    INFO: RETURN: DriverPackageInstallW (0xE000020B)
    INFO: No matching device was found for 'f:\drv\drv42.inf'. Driver will be
    installed when plugged in.
    INFO: Created entry in Add or Remove Programs for
    INFO: Returning with code 0x100
    INFO: 08/26/2008 09:42:23

    It says: "Driver will be installed when plugged in." Is plug in necessary
    for driver installation?
    Device is an unsigned usb pnp device.

    PS: OS is Windows XP.
    Blues42, Aug 26, 2008
    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.