/build/static/layout/Breadcrumb_cap_w.png

Unsigned Driver and snapshot

Hi

I have this problem:

1. A small printer driver unsigned that i have to deploy but i can't because of GPO ignore unsigned driver is only user setting
works not for computer package ??

I have tried to install by custom action

rundll32 printui.dll,PrintUIEntry /if /b "PDF_Udkast" /f "C:\Drivers\SHAPDF\PDFStamperBDOv1.inf" /r "Dokumenter\*.pdf" /m "Grafikhuset PDF Stamp"

but it is not working with printui.dll when the driver is not signed.

Then i have tried to snapshot the driver

The driver is working together with Adobe Elements using the same port and it is used for adding watermarks "stamps" to the pdf generatet by elements.

If i add the driver manually it works fine, but with the Snapshot MSI i works execept from one Postscript font.

One ATM type 1 font called Agfa Type AT Novarese

PostScript Single Master

When i print to PDF with the installed printer the font is totally excludet from the PDF that is generated

I cant figure what Im missing in the package since the font is missing

In adobe Type manager i have tried to deactivate the font and activate again i have deletet all files called Adobe*.fnt and the

ATMREG.ATM nothing helps

But If i installes the printer manually again and say yes to replaces the driver files the two snap shot installed printers start to work allso

now is that spokey


Any one, how can you get around this unsigned problem


and what can be the problem whith the snap shot since it first gets to work with the Postscript ATM type 1 font

after a new printer mannually has been added and driver replaced.


Sweede ;-)

0 Comments   [ + ] Show comments

Answers (7)

Posted by: nmi 19 years ago
Orange Belt
0
ORIGINAL: Sweede


Hi

I have this problem:

1. A small printer driver unsigned that i have to deploy but i can't because of GPO ignore unsigned driver is only user setting
works not for computer package ??

I have tried to install by custom action

rundll32 printui.dll,PrintUIEntry /if /b "PDF_Udkast" /f "C:\Drivers\SHAPDF\PDFStamperBDOv1.inf" /r "Dokumenter\*.pdf" /m "Grafikhuset PDF Stamp"

but it is not working with printui.dll when the driver is not signed.

Then i have tried to snapshot the driver


Don't snapshot the driver...it won't work! [;)]

What are you using to do snapshots? If it's Wise then you can use the Wise template device driver.msi or if its Adminstudio then the Device Driver Wizard will both do what you want. Other snapshot programmes may have similar wizards.

nmi
Posted by: Sweede 19 years ago
Second Degree Green Belt
0
I'm using snapshot only as a last resort, [:@] i have

Install shield Adminstudio 5.5

and WISE Package studio Profesional 4.62


my Wise package studio do not have the Device driver wizard ( and i don't know if it will work with an unsigned driver)

ok i have found a link to the template but will it work with an unsigned device driver it is not a PnP driver i don't think so

this DIFxApp from microsoft the driver must be signed i think

Sweede ;-)
Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
The PNP driver install template in the forum sticky will work for unsigned drivers as well.
Posted by: Sweede 19 years ago
Second Degree Green Belt
0
Hello Jim

and thank you again

When you use the PNPDriverInstall.MSI what about the settings i use to add in the rundll32 printui.dll,PrintUIEntry string

like this:

rundll32 printui.dll,PrintUIEntry /if /b "PDF_Udkast" /f "C:\Drivers\SHAPDF\PDFStamperBDOv1.inf" /r "Dokumenter\*.pdf" /m "Grafikhuset PDF Stamp"


F.x. the name of the printer /b "PDF_Udkast" and the port name in this case one excisting "Dokumenter\*.pdf" (Adobe PDF)


Is this information to be addded into the INF file ?



my INF file looks like this:

-------------------------------------------------------------------------------------------------
; OEMSETUP.INF (for Windows 2000+)
;

[Version]
Signature="$Windows NT$"
Provider=%Grafikhuset%
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
;
;
; Manufacturer section.
;
; This section lists all of the manufacturers
; that we will display in the Dialog box
;
[Manufacturer]
%Grafikhuset%=Grafikhuset

[Grafikhuset]
; plug-and-play id, if hw does not support it, remove everything after .ppd

"Grafikhuset PDF Stamp" = PDFStamperBDOv1.ppd
;
[OEM URLS]
"Grafikhuset" = "http://www.grafikhuset.net/international"

; Installer Sections

[PDFStamperBDOv1.ppd]
CopyFiles=PDFStamperBDOv1,PSCRIPT
DataSection=PSCRIPT_DATA
DataFile=PDFStamperBDOv1.ppd
Include=ntprint.inf
Needs=PSCRIPT.OEM, PSCRIPT_DATA

;copyfile sections
[PDFStamperBDOv1]
PDFStamperBDOv1.ppd

;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)

[DestinationDirs]
DefaultDestDir=66000

; Control Flags
;

; Source Disk Section
;
[SourceDisksNames]
4= %DiskID1%,,,

[SourceDisksFiles]
PDFStamperBDOv1.ppd = 4

;
; Localizable Strings
;
[Strings]
DiskID1="Grafikhuset PDF Stamp Driver Disk 1"
Grafikhuset="Grafikhuset PDF Stamper"
-------------------------------------------------------------------------------------------------


Sweede ;-)
Posted by: Sweede 19 years ago
Second Degree Green Belt
0
in reply to nmi

I have just upgrade to the Adminstudio Professional Edition version 6 now

but the Device Driver Wizard will only work when driver is signed

or am I getting that wrong

Sweede :-)
Posted by: Sweede 19 years ago
Second Degree Green Belt
0
My solution to this problem was making a CAT file and sign the driver my self

I made a new signing template added two extensions. requested the sertificate eksported incl a private key and i used makecat.exe and signtool.exe to make the driver CAT and for signing.

Sweede ;-)
Posted by: viv_bhatt1 19 years ago
Senior Purple Belt
0
Hi ,
I am new to this forum and facing problems regarding packaging unsigned drivers .
Can you please elaborate or give some pointers to creating a signing template .

Cheers,
V
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ