Jump to content

Recommended Posts

Posted

I'm trying to add a bunch of Xerox Postscript Printer files to my installation source directory. The link references the (self-extracting) file containing the drivers I need to incorporate. Basically it's just a bunch of standard PPD Files along with a inf file used for installation. Pretty simple stuff.

Have any of you incorporated updated printer drivers into your source? If so, how did you do it. Do I just copy all the PPD's and the inf file to my i386 directory? (doubt its that easy) I just want these updated printers to show up in the list when I try to add new printers to the PC.

:)


Posted

I think, if the printer-installation also works by Right-Mouse-Click at INF-File and selecting Install under Windows-Explorer, you could install it, like I did with W2K-Tweak-Utilities:

REG ADD %KEY%\002 /VE /D "Installing Tweak Utilities" /f
REG ADD %KEY%\002 /V 1 /D "%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\INSTALL\Tweak\tweakui.inf" /f

running in my RunOnceEx.Cmd - Hope this helps...

BTW: Did you first try it this way ?

Driver Installation Guide

Posted

I've said it before - when you want to add drivers delete setupapi.log, install the program, then look at the new setupapi.log to see what inf and associated files are used. It sounds like you've done that. You could then integrate the drivers. Adding the inf and associated files to dosnet.inf and txtsetup.sif would probably do that. My site has tutorials on how to do that. During setup it should do PNP enumeration, it should find your inf and install the software. If the drivers aren't digitally signed make sure you use driversigningpolicy= in your answer file. It should work. If you need the exact steps to do this someone could write them for you.

-gosh

Posted

Thanks Gosh!

The drivers will not be detected during setup. These drivers are for network (lpd) printers. As such, the drivers have to be manually installed when you setup the printer. Just like the old days :)

In Windows 98 I could add printer drivers just by copying the inf and related files to the C:\Windows\INF directory. Perhaps this will still work. The dosnet.inf and txtsetup.sif may work also. However, like I already mentioned, I don't need these drivers available immediately during setup - so it may be overkill.

Oh and thanks for the suggestion ander, I already thought of that. Printer INF files arn't structured to install like that (no [DefaultInstall] section).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...