none
FAX InfVerif.exe tool: Validating INF WARNING(2083) in Section [printerpackageinstallation.x86] not referenced or used. RRS feed

  • Question

  • Hello Community,

    We validated our FAX driver inf by InfVerif Tool but it shows following warning:

    Validating XXX.INF
    WARNING(2083) in XXX.INF, line xx: Section [printerpackageinstallation.x86] not referenced or used.

    INF is VALID

    We have added above section as per below MS link:

    https://docs.microsoft.com/en-us/windows-hardware/drivers/print/package-aware-print-drivers-that-do-not-share-files

    Is there anything additional info/section related to Package-Aware Print Drivers that should be updated in inf to remove above warning?

    Also, Is it mandatory to associate service with Hardware for install section as our driver does not have any service binary or any such dependency

    Regards, 

    Divya


    Monday, July 8, 2019 9:42 AM

All replies

  • This warning won't be removable in this case.  The warning is to tell you that PNP doesn't look at this section (the print stack does), so you can double check that you've done it right.  You can think of this warning as "infverif is unsure what this section is for, make sure it's correct"

    It's mandatory to specify what service is associated with the device, but that service is allowed to be *no* service.  You can specify like this:

    AddService=,2

    Monday, July 8, 2019 5:40 PM
  • Thank you Zac Lockard.

    Please have a look at below sample inf which is similar to my Driver inf file content.

    ; XXX.inf
    [Version]
    Signature="$Windows NT$"
    Provider="OEM Company"
    DriverIsolation=2
    CatalogFile=XXX.cat
    DriverVer=07/09/2019,1.0.0.0

    ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
    Class=Printer

    [Manufacturer]
    "OEM Company" = Company,ntx86,ntx86.6.0

    [Company.NTx86]
    "My Device Description"                  = DriverInstall_Vista, OEM_Company_NameABC_640A, ABC_UniDrv5_Printer
    "{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}" = {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}, {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}

    [Company.NTx86.6.0]
    "My Device Description"                  = DriverInstall_Vista, OEM_Company_NameABC_640A, ABC_UniDrv5_Printer
    "{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}" = {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}, {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}

    [DriverInstall_Vista]
    CopyFiles=OEMCORE_FILES
    DataFile=OEMABC.GPD
    CoreDriverSections="{D20EA372-DD35-4950-9ED8-A6335AFE79F0},UNIDRV.OEM,UNIDRV_DATA,TTFSUB.OEM","{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}"

    [DriverInstall_Vista.Services]
    AddService=,2

    [{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}]
    DriverVer=11/25/2005,2.3.4.5
    CopyFiles=OEMCORE_FILES

    [{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}.Services]
    AddService=,2

    [OEMCORE_FILES]
    OEMCORE.DLL

    [PrinterPackageInstallation.x86]
    PackageAware=TRUE
    CoreDriverDependencies={D20EA372-DD35-4950-9ED8-A6335AFE79F0},{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}

    [DestinationDirs]
    DefaultDestDir=66000

    [SourceDisksNames.x86]
    1=%MediaDescription%,,,"I386"

    [SourceDisksFiles]
    OEMRES.DLL  = 1
    OEMABC.GPD  = 1
    OEMCORE.DLL = 1

    [Strings]
    MediaDescription = "Description for Vendor provided media"

    InfVerif Tool generates below warning on above inf validation:

    WARNING(2083) in sample.inf, line 42: Section [printerpackageinstallation.x86] not referenced or used.

    Please let me know if Package-Aware Print Drivers section is correctly mentioned in this inf or not? Or if we shall update some additional sections also?

    Regards,

    Divya


    • Edited by Divya Kr Tuesday, July 9, 2019 5:54 AM
    Tuesday, July 9, 2019 5:53 AM
  • Hello Community,

    Please have a look at below sample inf which generates WARNING(2083) in sample.inf, line 42: Section [printerpackageinstallation.x86] not referenced or used.:

    ; XXX.inf
    [Version]
    Signature="$Windows NT$"
    Provider="OEM Company"
    DriverIsolation=2
    CatalogFile=XXX.cat
    DriverVer=07/09/2019,1.0.0.0

    ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
    Class=Printer

    [Manufacturer]
    "OEM Company" = Company,ntx86,ntx86.6.0

    [Company.NTx86]
    "My Device Description"                  = DriverInstall_Vista, OEM_Company_NameABC_640A, ABC_UniDrv5_Printer
    "{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}" = {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}, {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}

    [Company.NTx86.6.0]
    "My Device Description"                  = DriverInstall_Vista, OEM_Company_NameABC_640A, ABC_UniDrv5_Printer
    "{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}" = {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}, {BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}

    [DriverInstall_Vista]
    CopyFiles=OEMCORE_FILES
    DataFile=OEMABC.GPD
    CoreDriverSections="{D20EA372-DD35-4950-9ED8-A6335AFE79F0},UNIDRV.OEM,UNIDRV_DATA,TTFSUB.OEM","{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}"

    [DriverInstall_Vista.Services]
    AddService=,2

    [{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}]
    DriverVer=11/25/2005,2.3.4.5
    CopyFiles=OEMCORE_FILES

    [{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}.Services]
    AddService=,2

    [OEMCORE_FILES]
    OEMCORE.DLL

    [PrinterPackageInstallation.x86]
    PackageAware=TRUE
    CoreDriverDependencies={D20EA372-DD35-4950-9ED8-A6335AFE79F0},{BD1D2EBA-CE77-4d4f-89D8-A5BF1CE00EB3}

    [DestinationDirs]
    DefaultDestDir=66000

    [SourceDisksNames.x86]
    1=%MediaDescription%,,,"I386"

    [SourceDisksFiles]
    OEMRES.DLL  = 1
    OEMABC.GPD  = 1
    OEMCORE.DLL = 1

    [Strings]
    MediaDescription = "Description for Vendor provided media"

    InfVerif Tool generates below warning on above inf validation:

    WARNING(2083) in sample.inf, line 42: Section [printerpackageinstallation.x86] not referenced or used.

    Please let me know if Package-Aware Print Drivers section is correctly mentioned in this inf or not? Or if we shall update some additional sections also?

    Regards,

    Divya


    Tuesday, July 16, 2019 10:20 AM