Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > RE: Installation of WinUSB on XP Pro SP2


Reply
Fix Vista Errors
Thread Tools Display Modes

RE: Installation of WinUSB on XP Pro SP2

 
 
Morten Guld
Guest
Posts: n/a

 
      12-23-2009
Why don't you start out with the sample from the WinUSB documentation
instead? There are several issues with Jan's configuration.
http://www.microsoft.com/whdc/connec...usb_howto.mspx

Please check the include statement in the [USB_Install] and
[USB_Install.Services] sections. I think it should have been
Include=winusb.inf instead!

/Morten


"jajones" wrote:

> I'm currently trying to get WinUSB installed on my XP Pro SP2 machine
> and every time I try and install the device and point to where
> the .inf files are it says it can't install the hardware because it
> can't find the software. Here are the steps I have taken so far:
>
> 1. Downloaded winusbdemo.inf from Jan Axelson's page
> 2. Modified .inf file to use the 1.9 drivers
> 3. Create a directory structure that had \i386 subdirectory and then
> put WinUSBCoInstaller2.dll, WdfCoInstaller01009.dll, and
> WUDFUpdate_01009.dll files into it
> 3. Used inf2cat to create the .cat file (did that with no errors)
> 4. Browsed Hardware Devices tree to find the USB device that had no
> driver and attempted to install the new driver.
>
> I've included the body of my .inf file below for all to see. Any
> advice would be much appreciate. It's frustrating because I know I'm
> probably missing something really small.
>
> ; Adapted from the example INF in the Microsoft document "How to Use
> WinUSB to Communicate with a USB Device"
>
> [Version]
> Signature = "$Windows NT$"
> Class = USB
> ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
> Provider = %ProviderName%
> DriverVer=02/07/2008,1.0.0
> CatalogFile=MyCatFile.cat
>
> ; ========== Manufacturer/Models sections ===========
>
> [Manufacturer]
> %ProviderName% = MyDevice_WinUSB,NTx86,NTamd64
>
> [MyDevice_WinUSB.NTx86]
> %USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_1456
>
> [MyDevice_WinUSB.NTamd64]
> %USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_1456
>
> ; =================== Installation ===================
>
> [USB_Install]
> Include=winusbdemo.inf
> Needs=WINUSB.NT
>
> [USB_Install.Services]
> Include=winusbdemo.inf
> AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
>
> [WinUSB_ServiceInstall]
> DisplayName = %WinUSB_SvcDesc%
> ServiceType = 1
> StartType = 3
> ErrorControl = 1
> ServiceBinary = %12%\WinUSB.sys
>
> [USB_Install.Wdf]
> KmdfService=WINUSB, WinUsb_Install
> UmdfServiceOrder=WINUSB
>
> [WinUSB_Install]
> KmdfLibraryVersion=1.9
>
> [USB_Install.HW]
> AddReg=Dev_AddReg
>
> [Dev_AddReg]
> HKR,,DeviceInterfaceGUIDs,0x10000,"{42CA71EC-
> CE1C-44c2-82DE-87D8D8FF6C1E}"
>
> [USB_Install.CoInstallers]
> AddReg=CoInstallers_AddReg
> CopyFiles=CoInstallers_CopyFiles
>
> [CoInstallers_AddReg]
> HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller2 .dll","WUDFUpdate_01009.dll","WdfCoInstaller01009. dll,WdfCoInstaller"
>
> [CoInstallers_CopyFiles]
> WinUSBCoInstaller2.dll
> WdfCoInstaller01009.dll
> WUDFUpdate_01009.dll
>
> [DestinationDirs]
> CoInstallers_CopyFiles=11
>
> ; ================= Source Media Section =====================
>
> [SourceDisksNames.x86]
> 1 = %DISK_NAME%,,,\i386
>
> [SourceDisksNames.amd64]
> 2 = %DISK_NAME%,,,\amd64
>
> [SourceDisksFiles.x86]
> WinUSBCoInstaller2.dll=1
> WdfCoInstaller01009.dll=1
> WUDFUpdate_01009.dll=1
>
> [SourceDisksFiles.amd64]
> WinUSBCoInstaller2.dll=2
> WdfCoInstaller01009.dll=2
> WUDFUpdate_01009.dll=2
>
> ; Copy Files section
> ;------------------------------------------------------------------------------
> [_CopyFiles_sys]
> winusb.sys
>
> ;*************************************************
> *****************************
> ; Destination Directories
> ;------------------------------------------------------------------------------
> [DestinationDirs]
> DefaultDestDir = 12 ; %SystemRoot%\system32\drivers
> _CopyFiles_sys = 12
>
> ; =================== Strings ===================
>
> [Strings]
> ProviderName="Lakeview Research"
> USB\MyDevice.DeviceDesc="WinUSB Demo"
> WinUSB_SvcDesc="WinUSB Demo"
> DISK_NAME="c:\WinUSB"
>
> .
>

 
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
Re: Installation of WinUSB on XP Pro SP2 Tim Roberts Windows Vista Drivers 0 12-20-2009 11:53 PM
Vista installation stops after a while paco Windows Vista Installation 6 03-28-2007 01:59 AM
Installation too slow Axel Dahmen Windows Vista Installation 8 10-23-2006 10:11 PM
Installation issue on Vista RC1 that is not seen in XP or 2k Dan Windows Vista Installation 0 09-15-2006 06:01 PM
Failed installation hosed all systems on all partitions. Any ideas do-ho Windows Vista Installation 0 06-14-2006 05:18 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