Prev: ZwQuerySecurityObject, FltQuerySecurityObject, ObGetObjectSecurityreturning ACCESS DENIED on a network share file.
Next: My driver will not install on windows 7 64-bit
From: Peter on 24 Aug 2010 09:47 I have create a inf file for WINUSB, create the cat file and try to install winusb on my win7 64bit system. And only get an error message that a file is missing. If I check in device manager I can see winusb.sys, WDFCoInstaller and WinUSBCoInstaller with the right version under "driver details". Installation error is 00000002 System can not find a file. How can I find out which file is missing ? I took more or les themicrosoft example for the WINUSB inf file.
From: mpv on 25 Aug 2010 12:16 Hi, "Peter" <Peter(a)discussions.microsoft.com> wrote in message news:2DC98C84-C520-4C9B-9A7B-198C2FE7F3F6(a)microsoft.com... > I have create a inf file for WINUSB, create the cat file and try to > install > winusb on my win7 64bit system. And only get an error message that a file > is > missing. > If I check in device manager I can see winusb.sys, WDFCoInstaller and > WinUSBCoInstaller with the right version under "driver details". > Installation error is 00000002 System can not find a file. > How can I find out which file is missing ? > I took more or les themicrosoft example for the WINUSB inf file. There is a bug in the 64 bit part of the Microsoft sample WinUSB inf file The section header [SourceDisksFiles.NTamd64] should read [SourceDisksFiles.amd64] Regards, Matt
From: Mike [MSFT] on 26 Aug 2010 19:54 You can check the %windir%\inf\setupapi.dev.log file for more information about where the failure occurred. About the platform decoration, NTamd64 should be correct according to MSDN: http://msdn.microsoft.com/en-us/library/ff540206(v=VS.85).aspx -Mike "mpv" <nospam(a)forget.it> wrote in message news:#Gh0aDHRLHA.456(a)TK2MSFTNGP06.phx.gbl... > Hi, > > "Peter" <Peter(a)discussions.microsoft.com> wrote in message > news:2DC98C84-C520-4C9B-9A7B-198C2FE7F3F6(a)microsoft.com... >> I have create a inf file for WINUSB, create the cat file and try to >> install >> winusb on my win7 64bit system. And only get an error message that a file >> is >> missing. >> If I check in device manager I can see winusb.sys, WDFCoInstaller and >> WinUSBCoInstaller with the right version under "driver details". >> Installation error is 00000002 System can not find a file. >> How can I find out which file is missing ? >> I took more or les themicrosoft example for the WINUSB inf file. > > There is a bug in the 64 bit part of the Microsoft sample WinUSB inf file > > The section header [SourceDisksFiles.NTamd64] should read > [SourceDisksFiles.amd64] > > Regards, Matt > >
From: mpv on 27 Aug 2010 05:46 Hi, > > About the platform decoration, NTamd64 should be correct according to > MSDN: http://msdn.microsoft.com/en-us/library/ff540206(v=VS.85).aspx > I just downloaded a new version of WinUsb_HowTo.docx (from March 9, 2010) and it has been corrected. For some reason, the Manufacturer section has .NTamd64 as extension, but the SourceDisksFiles section has just .amd64, which probably must match the subdirectory name in SourceDisksNames. This used to be .NTamd64 as well, and DPInst then could not find the correct files, resulting in the Error 2 in the log. I was bitten by this in 2008 (and reported it). Glad it has been fixed. Maybe Peter is still using the old document. Regards, Matt
From: Mike [MSFT] on 6 Sep 2010 14:30
Ah, I see here: http://msdn.microsoft.com/en-us/library/ff547478(v=VS.85).aspx "Be aware that, unlike other sections such as a DDInstall section, the platform extensions for a SourceDisksNames section are not .ntx86, .ntia64, or .ntamd64. For example, to specify a source disk names section for an x86-based system, use a SourceDisksNames.x86 section, not a SourceDisksNames.ntx86 section. Similarly, use a SourceDisksNames.ia64 section to specify an Itanium-based system and a SourceDisksNames.amd64 section to specify an x64-based system." Apparently the platform decoration for SourceDiskNames/SourceDiskFiles is not consistent, and so just .amd64 is correct there. -Mike "mpv" <nospam(a)forget.it> wrote in message news:eTYgLycRLHA.5732(a)TK2MSFTNGP02.phx.gbl... > Hi, > >> >> About the platform decoration, NTamd64 should be correct according to >> MSDN: http://msdn.microsoft.com/en-us/library/ff540206(v=VS.85).aspx >> > > I just downloaded a new version of WinUsb_HowTo.docx (from March 9, 2010) > and it has been corrected. > > For some reason, the Manufacturer section has .NTamd64 as extension, but > the SourceDisksFiles section has just .amd64, which probably must match > the subdirectory name in SourceDisksNames. > This used to be .NTamd64 as well, and DPInst then could not find the > correct files, resulting in the Error 2 in the log. > > I was bitten by this in 2008 (and reported it). Glad it has been fixed. > Maybe Peter is still using the old document. > > Regards, Matt > |