/build/static/layout/Breadcrumb_cap_w.png

WPS5 - Custom Printer and Printer Port install

Hey Guys,

I'm fairly new to packaging and have run in to a rather annoying problem when trying to package a PDF converter install.

What I have to do is:

- Create a Printer (using any driver);
- Create an additional Adobe PDF Converter port and;
- Make some adjustments to the newly installed printer

Now, I have been able to successfully capture almost everything, except the MSI won't add the printer port. I've trauled here and other sites trying to find any info as to why but haven't been able to find anything that has helped alot. I have gone over the registry settings on an MSI installed PC and a manual install PC and noticed some small differences with the reg_multi_sz's. So I exported them all from a working manual install and merged them in post MSI install on another box, but no dice.

Is anyone able to suggest anything that I have missed? I also tried MSIMaker's idea of capturing absolutly everything, but that hasn't helped.

I am using WPS 5.0. I have also tried using a rather old version of WinINSTALL (v7 I think) but it produced the same thing.

Any help would be much appreciated.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: revizor 18 years ago
Third Degree Blue Belt
0
Andy,
with printers, make sure you restart spool service - otherwise newly installed printers are not recognized.
Posted by: AndyP 18 years ago
Senior Yellow Belt
0
Yeah done that, restarted just to be sure, the printer itself pops up, in 'offline mode', I can't bring it online, I get a 'The operation could not be completed error'. When I go in to server properties and check the ports, the port I created when i made the printer whilst building the MSI isn't there, and that's my problem. The users don't have access to make the ports themselves.

I've got nothing on this one..
Posted by: meenasm 17 years ago
Senior Yellow Belt
0
I have the same problem except that I am using Installshield Tuner on Adobe Acrobat Standard 7.0

The issue I have is that the applications has to be deployed Per-User and not Per-Machine. I tried using the Adobe Tuner for this which did not work since the Tuner is very limited in its capability.

I created a regular transform using the Installshield Tuner and removed the SetAllUsers = 1 custom actions (these were setting ALLUSERS to 1 within the vendor MSI). My issue is with the Adobe PDF Port - this will not get created on a Per-User Install even when I am logged in with an admin ID.

To get around this, I tried to capture just the printer and port creation and add the necessary keys/files to the MST. Now the printer gets created but it is "Offline". When I check the printer properties, on the Port Tab, the Adobe PDF Ports (My Documents\*.pdf and Desktop\*.pdf) do not show up. If I try to get the printer online I get a message - "This operation could not be completed"

I have added Adobe PDF entries to the following keys:
HKCU\Printers\DevModes2
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices
HKCU\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT X86\Drivers\Version-3\Adobe PDF Converter
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\Adobe PDF
HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors\Adobe PDF Port - this is where Desktop/*.pdf and My Documents/*.pdf are created
HKLM\SYSTEM\CurrentControlSet\Control\Print\Forms
HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers\Adobe PDF - PrinterOnLine=1
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Adobe PDF

The vendor MSI has the printer spooler stopping and restarting after printer creation and I have left that as is in the MST. To verify I even rebooted the machine after install - still offline

What am I missing?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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