Kurt Nyström wrote:
I have got the US winusb.inf and the files are identical.
The problem is then: Why is the Swedish Vista not copying winusb.sys
from driverstore? There is a winusb.pnf in the inf directory.
Kurt Nyström
style=“font-family: -moz-fixed; font-size: 12px;” lang=“x-unicode”>To
all,I have problems installing winusb.sys on Vista.
This may be because that the included winusb.inf could possibly be
different on Swedish Vista compared to US Vista.Can anyone mail me the standard winusb.inf? (Located in C:\Windows\inf)
I have got much appreciated help from Guy Corem,
Using his inf file, there are differences in setupapi.dev when I am
doing an install (fails) and when he is doing an install (success)Successful:
. inf: Opened PNF: ‘C:\WINDOWS\INF\winusb.inf’ ([strings.0409]
)
-----
. flq: SourceRootPath:
‘C:\WINDOWS\System32\DriverStore\FileRepository\winusb.inf_356c8860’
Failing:
inf: Opened INF: ‘C:\Windows\INF\winusb.inf’ ([strings.041d]
)
-----
flq: SourceRootPath: ‘C:\Windows\INF’
I think the important difference is that the successful install has
but the failing has
This seems to translate to different SourceRootPath so that the
successful install copies winusb.sys from the filerepository,
but the failing install tries to copy
winusb from \windows\inf directory, where there is no winusb.sys.
I have a winusb.sys in
the filerepository on the Swedish Vista, so it would work if only the
path was the correct one.
Another difference is that when it is working, the PNF file in the
repository is opened, not the INF file, I don’t know the
significance of this.
I have the Swedish version of Vista. Could it be that there is an error
in the included winusb.inf? Can anybody you mail me your winusb.inf?
My looks like this:
winusb.inf from c:\Windows\inf (64-bit Swedish Vista OEM):
; WinUsb.inf
; Microsoft Windows WinUsb Driver INF
; Copyright (c) Microsoft Corporation
[SourceDisksNames]
3426=windows cd
[SourceDisksFiles]
winusb.sys = 3426
[Version]
Signature=“$Windows NT$”
Provider=%MS%
pnplockdown=1 ; Third Party Protected
DriverVer=06/21/2006,6.0.6000.16386
[DestinationDirs]
DefaultDestDir = 12
WINUSB_CoInstaller_CopyFiles = 11
[DefaultInstall]
CopyFiles=WINUSB.CopyFiles
[WINUSB.NT]
CopyFiles=WINUSB.CopyFiles
AddReg=WINUSB.AddReg
[WINUSB.AddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,winusb.sys
[WINUSB.NT.Services]
Addservice = WINUSB, 0x00000002, WINUSB.AddService
[WINUSB.NT.UMDFServices]
Addservice = WINUSB, 0x00000000, WINUSB.AddService
[WINUSB.AddService]
DisplayName = %WINUSB_SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\WinUSB.SYS
[WINUSB.CopyFiles]
winusb.sys,0x0100 ; Microsoft Protected
;
; — Coinstaller section for kmdf —
;
;[WINUSB.NT.CoInstallers]
;AddReg=WINUSB_CoInstaller_AddReg
;CopyFiles=WINUSB_CoInstaller_CopyFiles
;[WINUSB_CoInstaller_AddReg]
;HKR,CoInstallers32,0x00010000,
“WdfCoInstaller01000.dll,WdfCoInstaller”
;[WINUSB_CoInstaller_CopyFiles]
;WdfCoInstaller01000.dll
;[WINUSB_Device.NT.Wdf]
;KmdfService = WINUSB, WINUSB_wdfsect
;[WINUSB_wdfsect]
;KmdfLibraryVersion = 1.0
[Strings]
;
; Not localizable
; None currently
;
;Localizable
;
WINUSB_SvcDesc = “WinUsb Driver”
MS=“Microsoft”
Kurt
Nyström
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer