Help - Printer driver installs on Vista but not on XP

Discussion in 'Windows Vista Drivers' started by Dave Burns, Mar 4, 2009.

  1. Dave Burns

    Dave Burns Guest

    We are able to get our driver working on Vista with this .INF file, but it
    fails on XP when it tries to execute the "class installer".
    What are we missing in this .INF file? We are running XP Service Pack 3 and
    Vista Business Service Pack 1.

    -------- Here is the .INF file (some comments
    removed) ---------------------------------------------------------------
    [Strings]
    String_OEM="Rimage"
    Class=%PTR_CLASS%
    String_OEM="Rimage Corporation"
    String_MODEL="Prism Plus"
    String_DISK="Rimage Printer Disk"
    PTR_CLASS="Printer"

    [Version]
    Signature="$Windows NT$"
    Class=Printer
    ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
    Provider=%String_OEM%
    CatalogFile=ccdxpvista.cat
    DriverVer=03/04/2009,5.3.0.121

    [Manufacturer]
    %String_OEM%=RIMAGE

    [DestinationDirs]
    DefaultDestDir=66000
    RIMCCD_DRV=66000

    [RIMAGE]
    %String_MODEL%=RIMCCD.Install_PnP,USBPRINT\Rimage_Prism_Plus5CD7

    ; for NT
    [RIMCCD.Install_PnP]
    DriverVer=03/04/2009,5.3.0.121
    CopyFiles=RIMCCD_DRV
    Include=NTPRINT.INF
    DataSection=RIMCCD_DATA
    DataFile=ccdxpvista.dll

    ;[ClassInstall32.NT]
    AddReg=printer_class_addreg
    DelReg=printer_class_delreg

    [printer_class_delreg]
    HKLM,"System\CurrentControlSet\Services\Class\Printer","NoUseClass"

    [printer_class_addreg]
    HKR,,,,%PTR_CLASS%
    HKR,,Installer32,,"ntprint.dll,ClassInstall32"
    HKR,,Icon,,"-4"
    HKR,,NoDisplayClass,,1
    HKR,,EnumPropPages32,,"printui.dll,PrinterPropPageProvider"

    [RIMCCD_DRV]
    ccdxpvista.dll,,0x2008
    ccdxpvistaui.dll,,0x2008
    ccdxpvistaui.hlp,,0x2008
    bcard58.bmp,,0x2008
    bcard61.bmp,,0x2008
    bcard63.bmp,,0x2008
    mini80.bmp,,0x2008
    rcard58.bmp,,0x2008
    std120.bmp,,0x2008

    [RIMCCD_DATA]
    DriverFile=ccdxpvista.dll
    ConfigFile=ccdxpvistaui.dll

    [SourceDisksNames]
    1=%String_DISK%,,,

    [SourceDisksFiles]
    ccdxpvista.dll=1
    ccdxpvistaui.dll=1
    ccdxpvistaui.hlp=1
    bcard58.bmp=1
    bcard61.bmp=1
    bcard63.bmp=1
    mini80.bmp=1
    rcard58.bmp=1
    std120.bmp=1

    ---------------- End of .INF
    file-------------------------------------------------------------



    ---------------- Partial Log file
    (SetupApi.Log)-------------------------------------------------------------

    #C148 Loading coinstaller modules for "Prism Plus".
    @ 14:55:20.421 #V166 Device install function: DIF_INSTALLINTERFACES.
    @ 14:55:20.421 #T152 Executing class installer.
    @ 14:55:20.421 #V153 Completed class installer.
    @ 14:55:20.421 #V155 Executing default installer.
    @ 14:55:20.421 #V039 Opened INF "C;\PrismDriver\ccdxpvista.inf", PNF not
    created (Languge = 0409).
    @ 14:55:20.421 #V011 Installing section [RIMCCD.Install_PnP.Interfaces] from
    "C;\PrismDriver\ccdxpvista.inf".
    @ 14:55:20.421 #I054 Interfaces installed.
    @ 14:55:20.421 #V156 Completed default installer.
    @ 14:55:20.421 #V166 Device install function: DIF_INSTALLDEVICE.
    @ 14:55:20.421 #T152 Executing class installer.
    @ 14:55:20.421 #V039 Opened INF "C;\PrismDriver\ccdxpvista.inf", PNF not
    created (Languge = 0409).
    @ 14:55:20.421 #V005 Opened the PNF file of "C:\WINDOWS\INF\NTPRINT.INF"
    (Language = 0409).
    @ 14:55:20.453 #V005 Opened the PNF file of "C:\WINDOWS\INF\drvindex.inf"
    (Language = 0409).
    @ 14:55:20.453 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "ccdxpvista.dll" to "ccdxpvista.dll" with
    flags 0x00000020, target directory is
    "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.453 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.453 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "ccdxpvistaui.dll" to "ccdxpvistaui.dll"
    with flags 0x00000020, target directory is
    "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.453 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.468 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "ccdxpvistaui.hlp" to "ccdxpvistaui.hlp"
    with flags 0x00000020, target directory is
    "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.468 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.484 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "bcard58.bmp" to "bcard58.bmp" with flags
    0x00000020, target directory is "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.484 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.484 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "bcard61.bmp" to "bcard61.bmp" with flags
    0x00000020, target directory is "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.500 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.500 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "bcard63.bmp" to "bcard63.bmp" with flags
    0x00000020, target directory is "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.515 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.515 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "mini80.bmp" to "mini80.bmp" with flags
    0x00000020, target directory is "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.515 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.531 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "rcard58.bmp" to "rcard58.bmp" with flags
    0x00000020, target directory is "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.531 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.531 #V094 Queued copy from section [RIMCCD_DRV] in
    "C;\PrismDriver\ccdxpvista.inf": "std120.bmp" to "std120.bmp" with flags
    0x00000020, target directory is "C:\WINDOWS\System32\spool\DRIVERS\W32X86".
    @ 14:55:20.546 #V095 Source in section [sourcedisksfiles] in
    "C;\PrismDriver\ccdxpvista.inf"; Media=1 Description="Rimage Printer Disk"
    Tag="" Path="".
    @ 14:55:20.546 #V005 Opened the PNF file of "C:\WINDOWS\INF\NTPRINT.INF"
    (Language = 0409).
    @ 14:55:20.546 #V039 Opened INF "C;\PrismDriver\ccdxpvista.inf", PNF not
    created (Languge = 0409).
    @ 14:55:22.281 #E154 Class installer failed. Error 6: The handle is invalid.
    @ 14:55:26.281 #V166 Device install function: DIF_DESTROYPRIVATEDATA.
    @ 14:55:26.281 #T152 Executing class installer.
    @ 14:55:26.281 #V153 Completed class installer.
    @ 14:55:26.281 #V155 Executing default installer.
    @ 14:55:26.281 #V156 Completed default installer.

    ---------------- End of Log file
    (SetupApi.Log)-------------------------------------------------------------
     
    Dave Burns, Mar 4, 2009
    #1
    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.