PC Review


Reply
Thread Tools Rate Thread

Avoiding "driver not signed" warning

 
 
Lucvdv
Guest
Posts: n/a
 
      1st Jul 2003
Is there a way to avoid the "unsigned driver" warning when upgrading a
homegrown driver in XPe? Maybe a special certificate that can be used
to sign a driver for XPe only?

Or can I create my own certificate, use it to sign my driver, and add
it to the list of trusted authorities on the XPe target?

I'm not really up to level with certificate and signing stuff, but I
have a w2k domain controller at hand, and I know I can use it to
create local certificates: can one of those be installed as trusted on
an XPe target to get around the problem? The target is networkless.



The problem behind the questions:

When my driver is installed for the first time through the Add
Hardware wizard, it goes straight through without saying anything
about driver signing, but when I try to upgrade it in any way later,
the warning/confirmation dialog pops up.

This is a problem because the target doesn't have any user input
device to close the dialog.

In the final version, the target will be upgradable by means of an
update application that is started automatically when a flash disk
(USB pen drive) with the proper files is connected.

As it is now it uses a SetupInstallFromInfSection API call for the
driver. The update app can be rewritten to use another mechanism if
necessary, but I wouldn't like to have to reinvent the setup API.


The probability that it will ever have to be upgraded is high because
the driver handles communication with custom hardware, part of that is
application-dependent, and my coworker who's writing the firmware for
it and who put the communication specs together has a high affinity
for pulling the ground out from under other people's feet (he can,
because he's the department chief and the lead developer ;-)

 
Reply With Quote
 
 
 
 
Lucvdv
Guest
Posts: n/a
 
      1st Jul 2003
On Tue, 01 Jul 2003 13:37:05 +0200, Lucvdv <(E-Mail Removed)>
wrote:

> Is there a way to avoid the "unsigned driver" warning when upgrading a
> homegrown driver in XPe?


It's a lot easier than I expected.

This simply works:

1) Copy the INF file into \Windows\INF
2) Install or upgrade the driver from the same INF file (the original,
not the copy).

No messages about driver signing, WHQL or anything.



How I found it: by accident

I removed all traces of my driver from the target, and reinstalled it
through 'add new hardware'. This time the warning popped up here too,
but I was certain it hadn't the first time, so I started thinking
about what had changed.

The driver was first installed through FBA in the original target, and
that caused the INF file to be copied to the INF directory without
being renamed it to 'oemXXX'; when I "removed all traces" I had
deleted that copy too.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word of Warning: Skybuck's morphed, new nym is ""Shaun" <spam@nomail.com>" Nobody > (Revisited) DIY PC 11 27th May 2011 01:26 PM
XP always gives "Driver not signed" warning, even on signed drivers smlunatick Windows XP Hardware 2 22nd Dec 2006 02:38 PM
Function like "Generic::List<String^>^ buildList(String^ inParm)" and avoiding warning C4172: returning address of local variable or temporary rsa_net_newbie Microsoft VC .NET 4 19th Oct 2006 05:27 AM
license.cfg "credit card" "Microsoft Windows Licensing" "Register online with Microsoft" "Warning! The license file" Jim Kelly Windows XP General 4 13th Sep 2004 06:32 AM
Avoiding the annoying warning "A program is trying to access....." Kernaa McFarlin Microsoft Outlook 1 16th Mar 2004 05:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:07 PM.