Hi
I have a bus driver that expose new devices once our application is launched.
the new device is a system device, I would like to preinstall a driver for the new device in Windows XP, tried using devcon dp_add and using DIFxApp from WDK, but every time the new device is exposed I’m getting “Found New hardware wizard”.
if I click next->next->next on the wizard, the driver is getting installed (the system founding the driver package)
I tried to create a CAT file using Test Certificate and it did not help.
In Windows 7 it works fine, Installed without any wizard poping up.
any ideas what I need to in order to preinstall the driver with out the “New Hardware wizard” showing when a new device is exposed?
> any ideas what I need to in order to preinstall the driver with out the “New Hardware wizard” showing
when a new device is exposed?
On XP, this is probably unsolvable without WHQL-signing the driver.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
On 24/10/2010 19:44, Maxim S. Shatskih wrote:
> any ideas what I need to in order to preinstall the driver with out the “New Hardware wizard” showing
> when a new device is exposed?
On XP, this is probably unsolvable without WHQL-signing the driver.
What about self signing? (Not WHQL MSFT Signing)
–
O.W.
> What about self signing? (Not WHQL MSFT Signing)
What is “non-WHQL MSFT Signing”?
MSFT will only sign your software as a part of WHQL process.
You can buy your own cert and sign by it, but, with XP, it will not suppress the dialog boxes, only in Vista+ AND if the user added your cert to Trusted Publishers (manually or by choosing “Always trust” in the first dialog box).
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
“Oren Weil” wrote in message news:xxxxx@ntdev…
> On 24/10/2010 19:44, Maxim S. Shatskih wrote:
>>> any ideas what I need to in order to preinstall the driver with out the
>>> “New Hardware wizard” showing
>>> when a new device is exposed?
>>
>> On XP, this is probably unsolvable without WHQL-signing the driver.
>>
>
> What about self signing? (Not WHQL MSFT Signing)
It does not work in XP.
– pa
Actually it does. You have to install the cert on the target machine.
Mark Roddy
On Mon, Oct 25, 2010 at 4:24 AM, Pavel A. wrote:
> “Oren Weil” wrote in message news:xxxxx@ntdev…
>>
>> On 24/10/2010 19:44, Maxim S. Shatskih wrote:
>>>>
>>>> any ideas what I need to in order to preinstall the driver with out the
>>>> “New Hardware wizard” showing
>>>> when a new device is exposed?
>>>
>>> On XP, this is probably unsolvable without WHQL-signing the driver.
>>>
>>
>> What about self signing? (Not WHQL MSFT Signing)
>
> It does not work in XP.
> – pa
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
For classes that do not require WHQL signature, maybe.
One can also request test signature without passing any tests, but IIRC for this need to open a WHQL account.
– pa
No, for any driver. Install your private cert to trustedpublisher and
then install the driver package signed with that cert.
Of course you will not be WHQL signed, so no logo, but you will also
not get popups on device install. DeviceManager will indicate that the
digital signer is whatever is in your private cert.
We currently install, on our XP vms, many devices covered by WHQL
programs, without any popups or other user intervention required. It
is the equivalent of release signing drivers for Vista and later
releases. For those releases we use a versign cert rather than a
private cert, as documented in the kernel code signing walkthrough.
Mark Roddy
On Mon, Oct 25, 2010 at 1:10 PM, wrote:
> For classes that do not require WHQL signature, maybe.
> One can also request test signature without passing any tests, but IIRC for this need to open a ?WHQL account.
>
> – pa
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
I have tried this, did not work.
On 25/10/2010 13:50, Mark Roddy wrote:
Actually it does. You have to install the cert on the target machine.
Mark Roddy
On Mon, Oct 25, 2010 at 4:24 AM, Pavel A. wrote:
>> “Oren Weil” wrote in message news:xxxxx@ntdev…
>>>
>>> On 24/10/2010 19:44, Maxim S. Shatskih wrote:
>>>>>
>>>>> any ideas what I need to in order to preinstall the driver with out the
>>>>> “New Hardware wizard” showing
>>>>> when a new device is exposed?
>>>>
>>>> On XP, this is probably unsolvable without WHQL-signing the driver.
>>>>
>>>
>>> What about self signing? (Not WHQL MSFT Signing)
>>
>> It does not work in XP.
>> – pa
>>
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
–
O.W.
What did not work? Or more precisely, what were the exact symptoms?
I routinely install self-signed driver packages for PnP devices on XP. The only ‘gotcha’ I have found is that the certificate used seems to be restricted to a self-signed (root) certificate and it must be installed into the Trusted Root and Trusted Publisher stores. Using a ‘real’ Authenticode certificate never seems to work correctly on XP.
But of course, I use that only for testing. The production drivers get WHQL signed.
Good Luck,
Dave Cattley
Date: Tue, 26 Oct 2010 22:10:47 +0200
From: xxxxx@gmail.com
Subject: Re:[ntdev] PreInstall Driver in Windows XP
To: xxxxx@lists.osr.com
I have tried this, did not work.
>What did not work? Or more precisely, what were the exact symptoms?
UI dialogs when executing the devnode setup procedure for the new device, given that the driver package was already SetupCopyOEMInf’ed to the driver store.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
Yes, sorry, that is what I meant by a “private cert”. You cannot use
your verisign or whomever official cert for this.
Mark Roddy
On Tue, Oct 26, 2010 at 5:19 PM, Dave Cattley wrote:
> What did not work??? Or more precisely, what were?the exact symptoms?
>
> I routinely install self-signed driver packages?for PnP devices on XP.? The
> only ‘gotcha’ I have found is that the certificate?used?seems to be
> restricted to a self-signed (root) certificate and?it must be installed into
> the Trusted Root and Trusted Publisher stores.?? Using a ‘real’ Authenticode
> certificate never seems to work correctly on XP.
>
> But of course, I use that only for testing.??? The production drivers get
> WHQL signed.
>
> Good Luck,
> Dave Cattley
>
>> Date: Tue, 26 Oct 2010 22:10:47 +0200
>> From: xxxxx@gmail.com
>> Subject: Re:[ntdev] PreInstall Driver in Windows XP
>> To: xxxxx@lists.osr.com
>>
>> I have tried this, did not work.
>>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>Yes, sorry, that is what I meant by a “private cert”. You cannot use
your verisign or whomever official cert for this.
Even if installed to trusted publishers?
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
> that is what I meant by a “private cert”. You cannot use
your verisign or whomever official cert for this.
This is known as test signing, not self-signing?
– pa
Unfortunately overloaded with the same term used to refer to a WHQL test signature.
And so confusion abounds.
Cheers,
Dave Cattley
Date: Wed, 27 Oct 2010 10:02:28 -0400
From: xxxxx@fastmail.fm
To: xxxxx@lists.osr.com
Subject: RE:[ntdev] PreInstall Driver in Windows XP
> that is what I meant by a “private cert”. You cannot use
your verisign or whomever official cert for this.
>
This is known as test signing, not self-signing?
– pa
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer