RE: MS toaster sample and driver signing by mirage2k2
mirage2k2
Wed Oct 11 20:31:02 CDT 2006
For end users you should get your driver signed. If the end users are
testers/partners, etc. you might be able to get them to change the signing
policy on test machines.
I had this problem before our driver was signed and it was a REAL problem.
If at any stage during the install of an NDIS IM driver you click "no" or
"dont install" (or whatever) on one of those warning dlgs the install would
fail and the system would blue screen! The system was left in such a bad
state that a lot of registry hacking, etc. was required to fix it. Perhaps
MS have fixed this now. What is the point of giving end user the option to
not install an unsigned driver, if when they take the option they end up with
a trashed system!
Here is an option that you might want to check out with MS. In your
installer YOU warn the user that the driver is unsigned and, if they agree to
continue with the install, then your installer temporarily sets the signing
policy on the target system to ignore. This way you are in control and
Windows doesn't completely screw up your installation.
"BorisErl" wrote:
> Changing driver signing policy on the machine can not be offered to end
> users. I have not MS toaster but a completely different driver in production.
> I used MS toaster sample in the original post only to make the description of
> the problem as simple as possible. Of cause the right way is to get the
> driver certified by MS but it requieres certification of some related
> hardware from a third party company and is not visible at the moment.
>
> "mirage2k2" wrote:
>
> > Go to System Properties\Hardware\Driver Signing and check Ignore.
> >
> > "BorisErl" wrote:
> >
> > > When a new toaster device is plugged-in ( using command: enum.exe â??p 1 )
> > > device Setup pops-up a warning that the driver is not properly signed.
> > >
> > > Question 1. If I use remote desktop the warning message is displayed not on
> > > my screen but on the primary or main screen and is not visible to me. I have
> > > to login from a monitor which is physically connected to the machine where
> > > toaster software runs in order to see this warning dialog and continue the
> > > driver installation. Any suggestions how to deal with this problem without
> > > passing WHQL tests? The workaround known to me is: go to Device Manager, find
> > > the newly created toaster device, select Update Driver and go through the
> > > installation process from the very beginning.
> > >
> > > Question 2. After installing the driver for toaster device number 1 I want
> > > to add toaster device number 2. Same warning message pops-up again. I already
> > > approved the driver installation for device number 1 and device number 2 will
> > > use the same driver. How to avoid the warning if the driver has been
> > > previously installed for another device?
> > >