Hi,
I am writing an installation application for Unidriver based
driver. I am not using the INF file. I use AddPrinterDriver
function. Since I am not using the INF file i need to copy all
the base driver components to the driver folder before I call
this function. I know these components are part of the OS but I
couldn’t find these files in the system. I know that the Add
printer wizard will copy these files to printer driver folder at
the time of installation. But I need to know where are these
copying from.
Thanks in advance,
Sridhar
Get your own “800” number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
This is one of the caveats of using the AddPrinterDriver APIs to install
printer drivers. The driver binaries such as unidrv.dll, unidrvui.dll
etc. are part of driver.cab and the Add Printer Wizard extracts these
binaries from the cab file. But there is no clean way to do this when
you are using the AddPrinterDriver approach. This is the reason for us
recommending that you always install using an INF. If you want
programmatic install, you can use the printui interface to install via
an INF.
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sridhar Krishnan
Sent: Wednesday, June 04, 2003 1:27 PM
To: NT Developers Interest List
Subject: [ntdev] Printer Installation Question
Hi,
I am writing an installation application for Unidriver based driver. I
am not using the INF file. I use AddPrinterDriver function. Since I am
not using the INF file i need to copy all the base driver components to
the driver folder before I call this function. I know these components
are part of the OS but I couldn’t find these files in the system. I know
that the Add printer wizard will copy these files to printer driver
folder at the time of installation. But I need to know where are these
copying from.
Thanks in advance,
Sridhar
Get your own “800” number
Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com