bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS bcdedit.exe /set loadoptions TESTSIGNINGON net stop spooler reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" /v \\Myprintserver\4G11P-DocuColor242 /t REG_SZ /f net start spooler printui.exe /ia /m "DocuColor 242-252-260 PCL" /h "x64" /v "Type 3 - User Mode" /f "\\Myprintserver\drivers\Xerox\DocuColor 242\PRNTDRVR\Pcl6_drvr\Win_2K_XP_VISTA\oemsetup.inf" RUNDLL32 PRINTUI.DLL,PrintUIEntry /if /b "4G11P-DocuColor242" /r "\\Myprintserver\4G11P-DocuColor242" /m "DocuColor 242-252-260 PCL"
The problem is the driver is not signed, and I get the popup in the attached screenshot, if i click install the driver the printer installs fine. I have tried to disable the Digital driver signing under windows 7 using
bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe /set loadoptions TESTSIGNINGON
Here is the oemsetup.inf
; PCL printer INF for WINXP
;
;
[Version]
Signature="$Windows NT$"
Provider=%MFG%
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
DriverVer=05/01/2009
CatalogFile.NTx86=5p1x12e3.cat
CatalogFile.NTamd64=5p1x12e6.cat
[Watermark_Reg]
HKLM,"SYSTEM\CurrentControlSet\Control\Print\Watermark","1",2,"0,0,255,0,0,1,0,0,450,700,0,24,Helvetica,CONFIDENTIAL"
HKLM,"SYSTEM\CurrentControlSet\Control\Print\Watermark","2",2,"0,0,0,0,255,1,0,0,450,700,0,24,Helvetica,COPY"
HKLM,"SYSTEM\CurrentControlSet\Control\Print\Watermark","3",2,"0,0,0,255,0,1,0,0,450,700,0,24,Helvetica,DRAFT"
HKLM,"SYSTEM\CurrentControlSet\Control\Print\Watermark","4",2,"0,0,0,255,0,1,0,0,450,700,0,24,Helvetica,TOP SECRET"
HKLM,"SYSTEM\CurrentControlSet\Control\Print\Watermark","5",2,"0,0,0,255,0,1,0,0,450,700,0,24,Helvetica,ORIGINAL"
;
; Manufacturer Sections
;
; This section lists all of the manufacturers that we will
; display in the Dialog box.
;
[Manufacturer]
%MFG%=Xerox, NTamd64
;
; Model Sections
;
; These sections correspond with an entry listed in the
; [Manufacturer] section above. The models will be displayed in the order
; that they appear here.
;
; plug-and-play id, if hw does not support it, remove everything after .pdd
[Xerox]
%Printer1%=EF5P1X12.PDD,LPTENUM\XeroxDocuColor_242-2D26
[Xerox.NTamd64]
%Printer1%=EF5P1X12.PDD,LPTENUM\XeroxDocuColor_242-2D26
;
; Installer Sections
;
;
[EF5P1X12.PDD]
CopyFiles=@EF5P1X12.PDD,PCLDriverFiles_NT1, SYS32
DataFile=EF5P1X12.PDD
DataSection=PCLData_NT1
AddReg=Watermark_Reg
;
;
; 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).
[SYS32]
msvcp80.dll
msvcr80.dll
[PCLDriverFiles_NT1]
EF5P1X12.chm
EF5P1X12.dll
EF5P1X12.dlx
EF5P1X12.esi
EF5P1X12.ext
EF5P1X12.fin
EF5P1X12.ifx
EF5P1X12.lan
EF5P1X12.mrx
EF5P1X12.oem
EF5P1X12.uat
EF5P1X12.uim
EF5P1X12.upd
EF5P1X12.xml
Microsoft.VC80.CRT.manifest
efjm.dll
msvcp80.dll
msvcr80.dll
harmony10.dll
harmony_bridge.dll
harmony_core.dll
harmony_ctp.dll
harmony_efi.dll
harmony_efi_color.dll
; Data Sections
;
[PCLData_NT1]
DriverFile=EF5P1X12.dlx
ConfigFile=EF5P1X12.ifx
;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)
;
[DestinationDirs]
DefaultDestDir=66000
SYS32 = 66002
;
; diskid = description,tagfile,unused,subdir
;
[SourceDisksNames]
1 = %DiskID1%,, 0000-0000
;
;
[SourceDisksNames.x86]
1 = %DiskID1%,, 0000-0000
;
;
[SourceDisksFiles.x86]
EF5P1X12.PDD = 1
EF5P1X12.chm = 1,\i386
EF5P1X12.dll = 1,\i386
EF5P1X12.dlx = 1,\i386
EF5P1X12.esi = 1,\i386
EF5P1X12.ext = 1,\i386
EF5P1X12.fin = 1,\i386
EF5P1X12.ifx = 1,\i386
EF5P1X12.lan = 1,\i386
EF5P1X12.mrx = 1,\i386
EF5P1X12.oem = 1,\i386
EF5P1X12.uat = 1,\i386
EF5P1X12.uim = 1,\i386
EF5P1X12.upd = 1,\i386
EF5P1X12.xml = 1
Microsoft.VC80.CRT.manifest = 1,\i386
efjm.dll = 1,\i386
msvcp80.dll = 1,\i386
msvcr80.dll = 1,\i386
harmony10.dll = 1,\i386
harmony_bridge.dll = 1,\i386
harmony_core.dll = 1,\i386
harmony_ctp.dll = 1,\i386
harmony_efi.dll = 1,\i386
harmony_efi_color.dll = 1,\i386
[SourceDisksFiles.amd64]
EF5P1X12.PDD = 1
EF5P1X12.chm = 1,\amd64
EF5P1X12.dll = 1,\amd64
EF5P1X12.dlx = 1,\amd64
EF5P1X12.esi = 1,\amd64
EF5P1X12.ext = 1,\amd64
EF5P1X12.fin = 1,\amd64
EF5P1X12.ifx = 1,\amd64
EF5P1X12.lan = 1,\amd64
EF5P1X12.mrx = 1,\amd64
EF5P1X12.oem = 1,\amd64
EF5P1X12.uat = 1,\amd64
EF5P1X12.uim = 1,\amd64
EF5P1X12.upd = 1,\amd64
EF5P1X12.xml = 1
Microsoft.VC80.CRT.manifest = 1,\amd64
efjm.dll = 1,\amd64
msvcp80.dll = 1,\amd64
msvcr80.dll = 1,\amd64
harmony10.dll = 1,\amd64
harmony_bridge.dll = 1,\amd64
harmony_core.dll = 1,\amd64
harmony_ctp.dll = 1,\amd64
harmony_efi.dll = 1,\amd64
harmony_efi_color.dll = 1,\amd64
; Localizable Strings
;
[Strings]
MFG="Xerox"
DiskID1="User Software"
Printer1="DocuColor 242-252-260 PCL"
CLASSNAME="Printer"
][/code]
This post has been edited by clivebuckwheat: 25 August 2012 - 11:16 AM



Help

Back to top










