The folder does not contain a compatible x64 driver.

Smitha Challa 31 Reputation points
2022-05-20T00:17:56.14+00:00

This is my inf file . When I sign it using signtool.exe I am getting this error. Can someone help me please?

203852-image.png

; INFO-PRINT.INF  
;  
; INF file for INFO-PRINT Driver  
; - for Windows XP (SP2), NT2003 (R2), Vista, Win7, NT2008 (x86 and x64)  
;  
; Copyright 2007-2022 PROFORMANCE  
  
[Version]  
Signature="$Windows NT$"  
LayoutFile=ntprint.inf  
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}  
Class=Printer  
Provider=%PF%  
DriverVer = 05/13/2022,9.30.28.734  
catalogfile = INFOPRINT.cat  
  
; Manufacturer Section  
;  
;This section lists all of the manufacturers   
; that we will display in the Dialog box  
;[Manufacturer]  
;"PROFORMANCE" = PROFORMANCE, NTx86, NTamd64, NTia64, NTarm64  
  
  
;  
; Model sections.   
;   
; Each section here corresponds with an entry listed in the  
; [Manufacturer] section, above. The models will be displayed in the order  
; that they appear in the INF file.  
;  
  
[PROFORMANCE]  
"INFO-PRINT" = DRV_INSTALL  
  
[PROFORMANCE.NTx86]  
"INFO-PRINT" = DRV_INSTALL  
  
[PROFORMANCE.NTamd64]  
"INFO-PRINT" = DRV_INSTALL  
  
[PROFORMANCE.NTia64]  
"INFO-PRINT" = DRV_INSTALL  
  
[PROFORMANCE.NTarm64]  
"INFO-PRINT" = DRV_INSTALL  
  
;  
; Installer Sections  
;  
; These sections control file installation, and reference all files that  
; need to be copied. The section name will be assumed to be the driver  
; file, unless there is an explicit DriverFile section listed.  
;  
  
[DefaultInstall.NTamd64]  
CopyFiles=@PFIP.GPD  
CopyFiles=@PFIP.INI  
CopyFiles=PFPRINTPATh  
DataFile=PFIP.GPD  
DataSection=UNIDRV_DATA  
Include=NTPRINT.INF  
Needs=UNIDRV.OEM,UNIDRV_DATA  
  
  
[DefaultInstall.NTx86]  
CopyFiles=@PFIP.GPD  
CopyFiles=@PFIP.INI  
CopyFiles=PFPRINTPATh  
DataFile=PFIP.GPD  
DataSection=UNIDRV_DATA  
Include=NTPRINT.INF  
Needs=UNIDRV.OEM,UNIDRV_DATA  
  
  
  
; Copy Sections  
;  
; Lists of files that are actually copied. These sections are referenced  
; from the installer sections, above. Only create a section if it contains  
; two or more files (if we only copy a single file, identify it in the  
; installer section, using the @filename notation) or if it's a color  
; profile (since the DestinationDirs can only handle sections, and not  
; individual files).  
;  
  
[PFPRINTPATh]  
PFPRINT.DLL  
  
  
;  
; Data Sections  
;  
  
; These sections contain data that is shared between devices.  
;  
  
  
  
;  
;  Location of source files not in Layout.inf.  
;  
  
[SourceDisksNames]  
1 = "CWIN"  
  
  
[SourceDisksNames.x86]  
2 = "CWIN".\x86  
  
  
[SourceDisksFiles.x86]  
PFPRINT.dll    = 2  
  
[SourceDisksFiles.amd64]  
PFPRINT.dll    = 1  
  
[SourceDisksFiles.ia64]  
PFPRINT.dll    = 1  
  
[SourceDisksFiles.arm64]  
PFPRINT.dll    = 1,PFPRINT\arm64  
  
[SourceDisksFiles]  
PFIP.INI = 1  
pfip.GPD = 1  
  
;  
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime  
; (depending on which environment drivers are getting installed)  
;  
  
[DestinationDirs]  
DefaultDestDir=66000  
  
;  
; Localizable Strings  
;  
[Strings]  
PF = "TRUPRO"  
CWIN = "C:\SOurce\PFPrintPackage\"  
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
642 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Morris 1,156 Reputation points
    2022-05-23T14:20:15.477+00:00

    The needs and includes section was deprecated after server 2003.

    You should be using a template for package aware print drivers.