Re: Page Orientation capability in Unidrv? Reverse Print direction

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have some additional info that I was hoping you might be able to help with.

In the SetupAPI.log file I received the following messages when trying to
install my print processor

[2006/03/20 15:47:01 1600.4250 Driver Install]
#-198 Command line processed: C:\WINDOWS\Explorer.EXE
#I060 Set selected driver.
[2006/03/20 15:47:15 1600.4264]
#-198 Command line processed: C:\WINDOWS\Explorer.EXE
#E360 An unsigned or incorrectly signed file "c:\inf_test\mtp.inf" for
driver "Printers" will be installed (Policy=Ignore). Error 0xe000022f: The
third-party INF does not contain digital signature information.
#W187 Install failed, attempting to restore original files.
#E360 An unsigned or incorrectly signed file "c:\inf_test\mtp.inf" for
driver "Printers" will be installed (Policy=Ignore). Error 0xe000022f: The
third-party INF does not contain digital signature information.
#-336 Copying file "c:\inf_test\i386\MTP-2242PP.GPD" to
"C:\WINDOWS\System32\spool\DRIVERS\W32X86\16003304\MTP-2242PP.GPD" via
temporary file
"C:\WINDOWS\System32\spool\DRIVERS\W32X86\16003304\SET1C4.tmp".
#E360 An unsigned or incorrectly signed file "c:\inf_test\mtp.inf" for
driver "Printers" will be installed (Policy=Ignore). Error 0xe000022f: The
third-party INF does not contain digital signature information.
#-336 Copying file "c:\inf_test\i386\MTP-22X2.Dll" to
"C:\WINDOWS\System32\spool\DRIVERS\W32X86\16003304\MTP-22X2.Dll" via
temporary file "C:\WINDOWS\System32\spool\DRIVERS\W32X86\16003304\SET1C5.tmp".
#E360 An unsigned or incorrectly signed file "c:\inf_test\mtp.inf" for
driver "Printers" will be installed (Policy=Ignore). Error 0xe000022f: The
third-party INF does not contain digital signature information.
#-336 Copying file "c:\inf_test\i386\MTP22PP.dll" to
"C:\WINDOWS\System32\spool\PRTPROCS\W32X86\MTP22PP.dll" via temporary file
"C:\WINDOWS\System32\spool\PRTPROCS\W32X86\SET1C7.tmp".
#E360 An unsigned or incorrectly signed file "c:\inf_test\mtp.inf" for
driver "Printers" will be installed (Policy=Ignore). Error 0xe000022f: The
third-party INF does not contain digital signature information.
#-336 Copying file "c:\inf_test\i386\genprint.dll" to
"C:\WINDOWS\System32\spool\PRTPROCS\W32X86\GenPrint.dll" via temporary file
"C:\WINDOWS\System32\spool\PRTPROCS\W32X86\SET1C9.tmp".
#E360 An unsigned or incorrectly signed file "c:\inf_test\mtp.inf" for
driver "Printers" will be installed (Policy=Ignore). Error 0xe000022f: The
third-party INF does not contain digital signature information.

Searched for info on this error and found an MSDN article,
http://support.microsoft.com/default.aspx?scid=kb;en-us;314464
which led me to the 'System Properties - Hardware - Driver Signing'
settings, to select the option

'Ignore - Install the software anyway and dont ask for my approval'.
My settings were already at this setting, as the messages indicated
(Policy=Ignore). And the messgae

indicates that the driver will be installed.
So I am not sure what is preventing the install.

Another test I performed as you suggested was to use 'AddPrintProcessor'.
I created an MFC app to perform this along with EnumPrintProcessors.
The AddPrintProcessor returns a 0, indicating a failure. The MSDN library
indicates to use

GetLastError to determine the failure. This returns a 0, 'The Operation
Completed Successfully'. Not

much help there.
Using EnumPrintProcessors I can get a list of print processors, but the
print processor I tried to add

is not added to the list.


And then another test I tried was to use the debugger and set breakpoints in
the print processor source code. When I ran the printer setup wizard and
tried to install the printer with the print processor, the break points were
never hit and I received the usual install error. When I manually installed
the print processor by adding the print processor to the registry, and then
ran the printer setup wizard, the break points were hit, dllmain() was hit
around a dozen times. But still received the install error. Does something
need to be added to dllmain()? I noticed that dwReason is either a 3 or a 2.

I feel like I keep hitting dead ends with this.
Please let me know if any of this gives you any ideas or thoughts on what
might be happening.

Thanks
DaveK

.



Relevant Pages

  • Re: Migrating from WDF beta to WDK 1.5
    ... finally getting back to that driver and have migrated to the latest WDK. ... GetLatestInstalledVersion install version major 0x1, ... INF does not contain digital signature information. ... third-party INF does not contain digital signature information. ...
    (microsoft.public.development.device.drivers)
  • Migrating from WDF beta to WDK 1.5
    ... finally getting back to that driver and have migrated to the latest WDK. ... does not contain digital signature information. ... Error 0xe000022f: The third-party INF does ... #-166 Device install function: DIF_INSTALLINTERFACES. ...
    (microsoft.public.development.device.drivers)
  • Re: Page Orientation capability in Unidrv? Reverse Print direction
    ... process and set breakpoints in the Print Processor and Printer Driver. ... I can try to install your driver but I really don't have the bandwith to do ... I copied and pasted your inf file and gave it a try, ... the printer driver will install and print, ...
    (microsoft.public.development.device.drivers)
  • Re: Problem Installing PrintProcessor from printer INF file.
    ... I changed both the print processor name and the name of the dll to be less ... The dll gets copied to the appropriate location, ... If I remove the PrintProcessor line from the INF file the printer installs ... to insure a clean install. ...
    (microsoft.public.development.device.drivers)
  • Re: Page Orientation capability in Unidrv? Reverse Print direction
    ... I've modified your inf file to look like the one I'm using to install our ... Driver and Print Processor. ...
    (microsoft.public.development.device.drivers)