Nothing works. Why you guys don't want to explain better of how to do or just publish an archive which contains the driver for the first run.
I have the following files:
winusbdemo.inf
i386\WdfCoInstaller01009.dll
i386\winusbcoinstaller2.dll
i386\WUDFUpdate_01009.dll
amd64\WdfCoInstaller01009.dll
amd64\winusbcoinstaller2.dll
amd64\WUDFUpdate_01009.dll
the inf file:
; ; 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={ecceff35-146c-4ff3-acd9-8f992d09acdd}
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_150C
[MyDevice_WinUSB.NTamd64]
%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0925&PID_150C
; =================== Installation ===================
[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT
[USB_Install.Services]
Include=winusb.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.7
[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]
WdfCoInstaller01009.dll=1
winusbcoinstaller2.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="My Install Disk"
setupapi.log
[2013/10/24 09:41:37 772.3 Driver Install]
#-019 Searching for hardware ID(s): usb\vid_0925&pid_150c&rev_0100,usb\vid_0925&pid_150c
#-018 Searching for compatible ID(s): usb\ms_comp_winusb,usb\class_ff&subclass_ff&prot_ff,usb\class_ff&subclass_ff,usb\class_ff
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
[2013/10/24 09:41:39 5400.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{E4FAAEDA-F6BA-40A3-8EA1-D81BEE8D60C0}
#I060 Set selected driver.
#-019 Searching for hardware ID(s): usb\vid_0925&pid_150c&rev_0100,usb\vid_0925&pid_150c
#-018 Searching for compatible ID(s): usb\ms_comp_winusb,usb\class_ff&subclass_ff&prot_ff,usb\class_ff&subclass_ff,usb\class_ff
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
#I060 Set selected driver.
#-019 Searching for hardware ID(s): usb\vid_0925&pid_150c&rev_0100,usb\vid_0925&pid_150c
#-018 Searching for compatible ID(s): usb\ms_comp_winusb,usb\class_ff&subclass_ff&prot_ff,usb\class_ff&subclass_ff,usb\class_ff
#-019 Searching for hardware ID(s): usb\vid_0925&pid_150c&rev_0100,usb\vid_0925&pid_150c
#-018 Searching for compatible ID(s): usb\ms_comp_winusb,usb\class_ff&subclass_ff&prot_ff,usb\class_ff&subclass_ff,usb\class_ff
#I022 Found "USB\VID_0925&PID_150C" in c:\usbdevice\winusbdemo.inf; Device: "WinUSB Demo"; Driver: "WinUSB Demo"; Provider: "Lakeview Research"; Mfg: "Lakeview Research"; Section name: "USB_Install".
#I087 Driver node not trusted, rank changed from 0x00000001 to 0x00008001.
#I023 Actual install section: [USB_Install]. Rank: 0x00008001. Effective driver date: 02/07/2008.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [USB_Install] in "c:\usbdevice\winusbdemo.inf".
#I320 Class GUID of device remains: {ECCEFF35-146C-4FF3-ACD9-8F992D09ACDD}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [USB_Install] in "c:\usbdevice\winusbdemo.inf".
#I320 Class GUID of device remains: {ECCEFF35-146C-4FF3-ACD9-8F992D09ACDD}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
[2013/10/24 09:42:00 5400.5]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{E4FAAEDA-F6BA-40A3-8EA1-D81BEE8D60C0}
#I140 Installing device class: "USB" {ecceff35-146c-4ff3-acd9-8f992d09acdd}.
#E067 Could not locate section [ClassInstall32].
#E142 Class: {ECCEFF35-146C-4FF3-ACD9-8F992D09ACDD}. Install failed. Error 0xe0000101: The required section was not found in the INF.
Please tell me what I am doing wrong. Please write more details, about how to install the driver.