/build/static/layout/Breadcrumb_cap_w.png

Trying to package PDF Printer with WPS5

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 capture/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 absolutely everything, but that hasn't created a package that offered anything more than my original one.

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 as wise.

Any help would be much appreciated.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: wd40 18 years ago
Orange Senior Belt
2
Hello, since you are new to the packaging process with not starting with some easier stuff. The PDF thing is quite hard to achieve. I've repackaged a couple apps and beleive me, a simple app could give you big headache.

I've never tried, but with not using PDF Creator? It's free and it comes with a MSI!

Give it a try!

JF
Posted by: kbu 18 years ago
Senior Yellow Belt
2
Hello AndyP

when capturing. this kind of thing you want to be sure to "Capture Hardware changes" (or something like that)

Its an option, under settings durring the before snapshot.



Good luck

/kbu
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
2
I'd bet your problem is that (even though you have included everything in your snapshot) Wise is dropping reg keys from the resulting MSI... I have had the exact same problems with Acrobat 6 Standard (which also creates a PDF printer) where the ports weren't getting setup.

Check out the following areas on a vendor install and see if they are in your package:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers...
HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers...
HKLM\SYSTEM\CurrentControlSet\Control\Print\Forms...
HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors...
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers...
HKCU\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts...

Also, check you are capturing the printer driver files etc in:

\Windows\System32\spool\drivers\w32x86
\Windows\inf

Like WD40 says this isn't the easiest package to start on - but it will provide good experience so keep plugging away :-) A word of warning though, if / when you get your PDF printer setup check the uninstall to make sure other exiting local printers aren't removed...

Good luck, don't forget to rate the post if it helps!
Rob.
Posted by: urban_diver 18 years ago
Orange Senior Belt
0
Have you tried stop/start the spooler?
Posted by: AndyP 18 years ago
Senior Yellow Belt
0
Thanks alot guys, I'll have another look at it. I've got our adobe 6 MSI package to take a look at as well, I'll let you know how I go.
Posted by: AndyP 18 years ago
Senior Yellow Belt
0
It works! [:D]

Thanks alot guys, I was missing a few of the environment entries and I checked the hardware registry capture option (I thought it was on by default but it wasn't).

Just got to throw in the service restart and tidy up the uninstall.

Once again, thanks!

Posts have been rated.
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