Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Missinf file while WinUsb driver installation

Reply
Thread Tools Display Modes

Missinf file while WinUsb driver installation

 
 
Peter
Guest
Posts: n/a

 
      08-24-2010
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.
 
Reply With Quote
 
 
 
 
mpv
Guest
Posts: n/a

 
      08-25-2010
Hi,

"Peter" <> wrote in message
news:2DC98C84-C520-4C9B-9A7B-...
> 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


 
Reply With Quote
 
Mike [MSFT]
Guest
Posts: n/a

 
      08-26-2010
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/libr...(v=VS.85).aspx

-Mike

"mpv" <> wrote in message
news:#...
> Hi,
>
> "Peter" <> wrote in message
> news:2DC98C84-C520-4C9B-9A7B-...
>> 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
>
>

 
Reply With Quote
 
mpv
Guest
Posts: n/a

 
      08-27-2010
Hi,

>
> About the platform decoration, NTamd64 should be correct according to
> MSDN: http://msdn.microsoft.com/en-us/libr...(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


 
Reply With Quote
 
Mike [MSFT]
Guest
Posts: n/a

 
      09-06-2010
Ah, I see here:
http://msdn.microsoft.com/en-us/libr...(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" <> wrote in message
news:...
> Hi,
>
>>
>> About the platform decoration, NTamd64 should be correct according to
>> MSDN: http://msdn.microsoft.com/en-us/libr...(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
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing Windows XP SP3 and other MS updates DanP Windows Update 27 08-18-2010 09:34 PM
crcdisk.sys start up problem (with boot log) Jimmy Windows Vista Hardware 2 08-13-2007 07:22 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM
americas army stuttering under vista premium ernie Windows Vista Games 0 02-27-2007 10:20 PM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59