Windows XP vs Vista update unsigned PNP USB driver
- From: "Natalia DeBow" <natalia.debow@xxxxxxxxxx>
- Date: Thu, 2 Aug 2007 16:38:16 -0700
Hello,
I am testing installing and updating an unsigned PNP USB driver and when
trying to update the driver, the update logic seems to behave differently on
Windows XP versus Windows Vista. I am a bit puzzled as to why this is
happening. Here is what I have observed:
Windows Vista:
Fresh install of sys file and inf file presents the user with a Security
Warning (since the driver is not signed) and completes successfully after
that. The driver store contains the updated set of files - manifest, inf,
pnf and
sys files, the oem*.inf is generated and the sys file is copied into the
system32\drivers folder.
Update of the driver using UpdateDriverForPlugAndPlayDevices API - I have an
updated sys file (with the new resouce that contains a newer file version
information for the sys file) that needs to be installed on the target
system, however,
there is no change to the INF file.
No security warning was displayed during the driver update. The driver
store was not updated with the latest sys file. From the setupapi.dev.log:
{SetupCopyOEMInf: c:\program files\unisys\virtual machine for clearpath
mcp\devices\uis2490.inf} 00:08:08.220
inf: Opened INF: 'c:\program files\unisys\virtual machine for
clearpath mcp\devices\uis2490.inf' ([strings] <src = normal>)
inf: Opened INF: 'c:\program files\unisys\virtual machine for
clearpath mcp\devices\uis2490.inf' ([strings] <src = normal>)
! inf: Package was already in store: skipping Driver Store add
inf: Driver Store location:
C:\Windows\System32\DriverStore\FileRepository\uis2490.inf_0fe469c0\uis2490.inf
inf: Published Inf Path: C:\Windows\INF\oem2.inf
inf: OEM source media location: c:\program files\unisys\virtual
machine for clearpath mcp\devices\
inf: {SetupCopyOEMInf exit (0x00000000)} 00:08:08.952
So therefore, the system32\drivers directory did not get updated with the
newer version of the sys file.
However, when tried the same driver fresh install and driver update on
Windows XP system, the UpdateDriverForPlugAndPlayDevices API copied the new
version of the sys file to the system 32 directory, even though the INF file
did not change.
#-124 Doing copy-only install of "USB\VID_04FA&PID_2490\5&1F6E9F4&0&1".
#E366 An unsigned or incorrectly signed file "c:\program
files\unisys\virtual machine for clearpath mcp\devices\uis2490.inf" for
driver "Unisys USB Image Enabler" will be installed (Policy=Warn, user said
ok). Error 0xe000022f: The third-party INF does not contain digital
signature information.
#-024 Copying file "c:\program files\unisys\virtual machine for clearpath
mcp\devices\uis2490.sys" to "C:\WINDOWS\system32\DRIVERS\uis2490.sys".
#E362 An unsigned or incorrectly signed file "c:\program
files\unisys\virtual machine for clearpath mcp\devices\uis2490.inf" for
driver "Unisys USB Image Enabler" will be installed (Policy=Warn). Error
0xe000022f: The third-party INF does not contain digital signature
information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [uis2490_Inst.NTx86.Interfaces] from "c:\program
files\unisys\virtual machine for clearpath mcp\devices\uis2490.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "USB\VID_04FA&PID_2490\5&1F6E9F4&0&1".
#E362 An unsigned or incorrectly signed file "c:\program
files\unisys\virtual machine for clearpath mcp\devices\uis2490.inf" for
driver "Unisys USB Image Enabler" will be installed (Policy=Warn). Error
0xe000022f: The third-party INF does not contain digital signature
information.
#I121 Device install of "USB\VID_04FA&PID_2490\5&1F6E9F4&0&1" finished
successfully.
Any clues would be appreciated.
Thanks in advance,
Natalia
.
- Follow-Ups:
- Re: Windows XP vs Vista update unsigned PNP USB driver
- From: Gianluca Varenni
- Re: Windows XP vs Vista update unsigned PNP USB driver
- Prev by Date: Re: Error in PnP test
- Next by Date: Re: Windows XP vs Vista update unsigned PNP USB driver
- Previous by thread: Re: lock paged memory pages
- Next by thread: Re: Windows XP vs Vista update unsigned PNP USB driver
- Index(es):
Relevant Pages
|
Loading