Sorry about the repeat - I responded to a post earlier in 'Distribution' by mistake

I am trying to create the Adobe PDF Printer using AdminStudio 6.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\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\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers\Adobe PDF - PrinterOnLine=1
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Adobe PDF

I have the necessary files installing to c:\windows\system32\spool.

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?
0 Comments   [ + ] Show Comments


Please log in to comment

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


Hi meenasm,
that seems not a very good idea to me at all.
Please get a look at the original MSI-file and go to the following rows in the 'InstallExecuteSequence' table:
'CreatePortMonitor' and 'CreateAdobePDFPrinter'
Have you played around with the long line of conditions they have on them?
Regards, Nick
Answered 08/14/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
I am sorry, I did not mention that in my earlier post... I had removed all the conditions for the two custom actions and forced it to install by default. It would give me an error: Warning 20225 - Adobe Acrobat 7.0 Setup was unable to create a new item: Adobe PDF Port Monitor. The Adobe PDF Printer maybe unavailable.

The install will not even create the Port or the Printer. Which is why I tried to force it by capturing the port and printer creation.

I had also removed the SetAllUSERS and SetAllUsersDocuments custom actions for force the per user install.

In addition, I have the same issue even with an Admin ID. If ALLUSERS="" and I keep the custom actions, I get the warning. If ALLUSERS="" and I install my captured printer, it is offline. In either case if ALLUSERS is set to 1, the port and printer get created - but this is not an option I have.

Answered 08/14/2006 by: meenasm
Senior Yellow Belt

Please log in to comment
Ok, this is getting complicated :-)
I fear, you have to fire up regmon and do some investigation about what's going on exactly.
Sorry, no easier advice available right now.
Regards, Nick
Answered 08/14/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity