/build/static/layout/Breadcrumb_cap_w.png

Printer repackage

Does anyone have a good info on how to make a printer work in an MSI. I am trying to repackage CutePDF (similiar to Acrobat) and it creates a printer. This doesn't seem to work and the INF or OEM file are not available for command line installation.

Any help appreciated.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: kkaminsk 20 years ago
9th Degree Black Belt
0
Well this may work. Stop the spooler service then install the package. Start the spooler service then test.
Posted by: kkaminsk 20 years ago
9th Degree Black Belt
0
That is an Acrobat workaround so maybe it'll work for you.
Posted by: JeffG 20 years ago
Senior Yellow Belt
0
Thanks, but no, that doesn't work. Basically, how do you capture a Printer Driver installing. It is strange because Wise or Installshield does not record all of the registry keys that get modified. I have manually searched and found any related to my project, created the reg file, merged it to my registry, started and stopped the spooler, but still something is missing.
Posted by: kkaminsk 20 years ago
9th Degree Black Belt
0
Well I think the PDF capture in Adobe is not truely a print driver. If you know you are installing a print driver you can try to find the inf / cat files but watching the C:\windows\inf directory. When you install the software look for a new inf and cat file in that directory. If you get a signed cat file and the inf file then all you need are the supporting files which were likely copied into system32. You can then put them all together in the same directory and try to install them using Microsoft's Driver Installation Framework but that's only if the print driver is signed. If it's unsigned then you get into some more complex fun.

http://support.microsoft.com/default.aspx?scid=kb;en-us;189105

There is also an XP article as well.
Posted by: DuncanPaul 20 years ago
Orange Belt
0
I've had these problems with PDF writers, CutePDF and Amyuni make one too,.. if you can't get it by capturing in Wise 5 (remove all reg and file exclusions for this capture, and clean it up later), try using MasaiEditor, this has worked for me for PDFwriters. They seem to always require a restart, stopping and starting Spool won't always do it either, but this was within our requirements so didn't investigate further.
Posted by: mickman 20 years ago
Orange Belt
0
It's not a good idea to capture the installation of a printer because the captured printer could be installed on a port/parameter that is allready in use on the client computer. You can use a batch/command/vbs file to install a printer runtime with the printer driver.

this is the syntax:

rundll32 PRINTUI.DLL,PrintUIEntry /?

The command above will show you the options you can use.
In short terms: use this phrase with a printername, driver inf and printer model name to install a printer.

You can use embedded Visual Basic in your MSI or you make a procedure call to the cmd/batch/vbs file.
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