Error msg upon adding printer

Hi,

I am trying to install my custom printer driver via the Add Printer
Wizard.
Upon clicking on Finish, I get an error message saying:
“Printer Driver not installed. Operation could not be completed.”
My .inf file installs 3 files: a graphic DLL, a UI DLL and a print
processor.

Error messages in setupAPI.log complained about the files not having
digital signature information. This also happens to samples that come
with the DDK.

Does anyone know why I get the error message and how I can fix it ?
Is it a must to have the DLLs properly implemented ? My goal at this stage
is to install my print driver that does nothing. Regardless of what it
does,
I
want to be able to install it at least.

Many thanks,
Michael.

Read “Setting SetupAPI Logging Levels” article in DDK, and set most verbose logging available. After that you will be able to see appropriate error message from SetupAPI in debugger.
Also check settings for digital signatures in system properties. May be you have disabled not signed driver?
Check status returned by DriverEntry routine of your driver. Driver can’t be installed if DriverEntry return error value.

Ruslan Shimkevich