pbatard / libwdi

Windows Driver Installer library for USB devices
GNU General Public License v3.0
1.91k stars 466 forks source link

Zadig 2.1.0 The syntax of the inf is invalid #37

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello !

I am trying to install libusb-win32 driver and I get a "driver installation failed" error. I am running on windows 8 with the newest zadig version. I have also tryied with earlier versions but I got the same issue.

Here is my log :

Using inf name: Crazyradio_USB_Dongle.inf Successfully extracted driver files. Installing driver. Please wait... libwdi:info [wdi_prepare_driver] K driver available - adding the libusbK DLLs to the libusb-win32 inf libwdi:info [extract_binaries] successfully extracted driver files to C:\Users\marina\usb_driver libwdi:info [wdi_prepare_driver] successfully created 'C:\Users\marina\usb_driver\Crazyradio_USB_Dongle.inf' libwdi:info [wdi_prepare_driver] Vista or later detected - creating and self-signing a .cat file... libwdi:debug [AddFileHash] 'libusb0.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\amd64\libusb0.dll' libwdi:debug [AddFileHash] 'libusb0.sys': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\amd64\libusb0.sys' libwdi:debug [AddFileHash] 'libusb0_x86.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\amd64\libusb0_x86.dll' libwdi:debug [AddFileHash] 'libusbk.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\amd64\libusbk.dll' libwdi:debug [AddFileHash] 'libusbk_x86.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\amd64\libusbk_x86.dll' libwdi:debug [AddFileHash] 'crazyradio_usb_dongle.inf': INF type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\crazyradio_usb_dongle.inf' libwdi:debug [AddFileHash] 'libusb0.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\x86\libusb0.dll' libwdi:debug [AddFileHash] 'libusb0.sys': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\x86\libusb0.sys' libwdi:debug [AddFileHash] 'libusb0_x86.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\x86\libusb0_x86.dll' libwdi:debug [AddFileHash] 'libusbk.dll': PE type libwdi:info [ScanDirAndHash] added hash for 'C:\Users\marina\usb_driver\x86\libusbk.dll' libwdi:info [CreateCat] successfully created file 'C:\Users\marina\usb_driver\Crazyradio_USB_Dongle.cat' libwdi:info [RemoveCertFromStore] deleted existing certificate 'CN=USB\VID_1915&PID_7777 (libwdi autogenerated)' from 'Root' store libwdi:info [RemoveCertFromStore] deleted existing certificate 'CN=USB\VID_1915&PID_7777 (libwdi autogenerated)' from 'TrustedPublisher' store libwdi:debug [CreateSelfSignedCert] set Enhanced Key Usage, URL and CPS libwdi:debug [CreateSelfSignedCert] created new key container libwdi:debug [CreateSelfSignedCert] generated new keypair libwdi:info [CreateSelfSignedCert] created new self-signed certificate 'CN=USB\VID_1915&PID_7777 (libwdi autogenerated)' libwdi:debug [SelfSignFile] successfully created certificate 'CN=USB\VID_1915&PID_7777 (libwdi autogenerated)' libwdi:info [SelfSignFile] added certificate 'CN=USB\VID_1915&PID_7777 (libwdi autogenerated)' to 'Root' and 'TrustedPublisher' stores libwdi:info [SelfSignFile] successfully signed file 'C:\Users\marina\usb_driver\Crazyradio_USB_Dongle.cat' libwdi:info [SelfSignFile] successfully deleted private key libwdi:debug [wdi_install_driver] using progress bar mode libwdi:debug [installer process] got parameter Crazyradio_USB_Dongle.inf libwdi:debug [process_message] got request for device_id libwdi:debug [installer process] got device_id: 'USB\VID_1915&PID_7777\00A4CEFFD0' libwdi:debug [process_message] got request for hardware_id libwdi:debug [installer process] got hardware_id: 'USB\VID_1915&PID_7777&REV_0052' libwdi:debug [installer process] got user_sid: 'S-1-5-21-3463171804-1537994893-3906066650-1001' libwdi:debug [installer process] using syslog 'C:\Windows\inf\setupapi.dev.log' libwdi:debug [installer process] sylog reader thread started libwdi:debug [installer process] successfully disabled the system restore point creation setting libwdi:debug [process_message] switching timeout to infinite libwdi:debug [installer process] Installing driver for USB\VID_1915&PID_7777&REV_0052 - please wait... libwdi:debug [syslog] ERROR: Unable to convert log entry to UTF-8 libwdi:debug [syslog] >>> [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1915&PID_7777&REV_0052] libwdi:debug [syslog] >>> Section start 2014/09/09 10:53:16.886 libwdi:debug [syslog] cmd: "C:\Users\marina\usb_driver\installer_x64.exe" "Crazyradio_USB_Dongle.inf" libwdi:debug [syslog] dvi: {Build Driver List} 10:53:16.904 libwdi:debug [syslog] dvi: Searching for hardware ID(s): libwdi:debug [syslog] dvi: usb\vid_1915&pid_7777&rev_0052 libwdi:debug [syslog] dvi: usb\vid_1915&pid_7777 libwdi:debug [syslog] dvi: Searching for compatible ID(s): libwdi:debug [syslog] dvi: usb\class_ff&subclass_ff&prot_00 libwdi:debug [syslog] dvi: usb\class_ff&subclass_ff libwdi:debug [syslog] dvi: usb\class_ff libwdi:debug [syslog] cpy: Policy is set to make all digital signatures equal. libwdi:debug [syslog] sig: {_VERIFY_FILE_SIGNATURE} 10:53:16.958 libwdi:debug [syslog] sig: Key = crazyradio_usb_dongle.inf libwdi:debug [syslog] sig: FilePath = c:\users\marina\usb_driver\crazyradio_usb_dongle.inf libwdi:debug [syslog] sig: Catalog = c:\users\marina\usb_driver\Crazyradio_USB_Dongle.cat libwdi:debug [syslog] ! sig: Verifying file against specific (valid) catalog failed! (0x800b0109) libwdi:debug [syslog] sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:17.027 libwdi:debug [syslog] sig: {_VERIFY_FILE_SIGNATURE} 10:53:17.030 libwdi:debug [syslog] sig: Key = crazyradio_usb_dongle.inf libwdi:debug [syslog] sig: FilePath = c:\users\marina\usb_driver\crazyradio_usb_dongle.inf libwdi:debug [syslog] sig: Catalog = c:\users\marina\usb_driver\Crazyradio_USB_Dongle.cat libwdi:debug [syslog] sig: Success: File is signed in Authenticode(tm) catalog. libwdi:debug [syslog] sig: {_VERIFY_FILE_SIGNATURE exit(0xe0000241)} 10:53:17.054 libwdi:debug [syslog] dvi: Created Driver Node: libwdi:debug [syslog] dvi: HardwareID - USB\VID_1915&PID_7777 libwdi:debug [syslog] dvi: InfName - c:\users\marina\usb_driver\crazyradio_usb_dongle.inf libwdi:debug [syslog] dvi: DevDesc - Crazyradio USB Dongle libwdi:debug [syslog] dvi: Section - LIBUSB_WIN32_DEV.NTAMD64 libwdi:debug [syslog] dvi: Rank - 0x00ff0001 libwdi:debug [syslog] dvi: Signer Score - Authenticode libwdi:debug [syslog] dvi: DrvDate - 08/02/2012 libwdi:debug [syslog] dvi: Version - 1.2.6.0 libwdi:debug [syslog] dvi: {Build Driver List - exit(0x00000000)} 10:53:17.095 libwdi:debug [syslog] dvi: {DIF_SELECTBESTCOMPATDRV} 10:53:17.099 libwdi:debug [syslog] dvi: No class installer for 'Crazyradio USB Dongle' libwdi:debug [syslog] dvi: No CoInstallers found libwdi:debug [syslog] dvi: Default installer: Enter 10:53:17.109 libwdi:debug [syslog] dvi: {Select Best Driver} libwdi:debug [syslog] dvi: Class GUID of device changed to: {eb781aaf-9c70-4523-a5df-642a87eca567}. libwdi:debug [syslog] dvi: Selected: libwdi:debug [syslog] dvi: Description - [Crazyradio USB Dongle] libwdi:debug [syslog] dvi: InfFile - [c:\users\marina\usb_driver\crazyradio_usb_dongle.inf] libwdi:debug [syslog] dvi: Section - [LIBUSB_WIN32_DEV.NTAMD64] libwdi:debug [syslog] dvi: {Select Best Driver - exit(0x00000000)} libwdi:debug [syslog] dvi: Default installer: Exit libwdi:debug [syslog] dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 10:53:17.139 libwdi:debug [syslog] sto: {Import Driver Package: c:\users\marina\usb_driver\crazyradio_usb_dongle.inf} 10:53:17.143 libwdi:debug [syslog] sto: Driver Store = C:\Windows\System32\DriverStore Online libwdi:debug [syslog] sto: Driver Package = c:\users\marina\usb_driver\crazyradio_usb_dongle.inf libwdi:debug [syslog] sto: Architecture = amd64 libwdi:debug [syslog] sto: Flags = 0x00000000 libwdi:debug [syslog] inf: Provider = libusb-win32 libwdi:debug [syslog] inf: Class GUID = {eb781aaf-9c70-4523-a5df-642a87eca567} libwdi:debug [syslog] inf: Driver Version = 08/02/2012,1.2.6.0 libwdi:debug [syslog] inf: Catalog File = Crazyradio_USB_Dongle.cat libwdi:debug [syslog] inf: Version Flags = 0x00000011 libwdi:debug [syslog] flq: Copying 'c:\users\marina\usb_driver\Crazyradio_USB_Dongle.cat' to 'C:\Users\marina\AppData\Local\Temp{22fe8131-1180-3145-8878-c93b4cdb7a78}\Crazyradio_USB_Dongle.cat'. libwdi:debug [syslog] flq: Copying 'c:\users\marina\usb_driver\crazyradio_usb_dongle.inf' to 'C:\Users\marina\AppData\Local\Temp{22fe8131-1180-3145-8878-c93b4cdb7a78}\crazyradio_usb_dongle.inf'. libwdi:debug [syslog] flq: Copying 'c:\users\marina\usb_driver\amd64\libusb0.dll' to 'C:\Users\marina\AppData\Local\Temp{22fe8131-1180-3145-8878-c93b4cdb7a78}\amd64\libusb0.dll'. libwdi:debug [syslog] flq: Copying 'c:\users\marina\usb_driver\amd64\libusb0.sys' to 'C:\Users\marina\AppData\Local\Temp{22fe8131-1180-3145-8878-c93b4cdb7a78}\amd64\libusb0.sys'. libwdi:debug [syslog] flq: Copying 'c:\users\marina\usb_driver\amd64\libusbk.dll' to 'C:\Users\marina\AppData\Local\Temp{22fe8131-1180-3145-8878-c93b4cdb7a78}\amd64\libusbk.dll'. libwdi:debug [syslog] flq: Copying 'c:\users\marina\usb_driver\x86\libusb0_x86.dll' to 'C:\Users\marina\AppData\Local\Temp{22fe8131-1180-3145-8878-c93b4cdb7a78}\x86\libusb0_x86.dll'. libwdi:debug [syslog] !!! sto: Failed to call server side to import driver package. Error = 0x0000000D libwdi:debug [process_message] switching timeout back to finite libwdi:debug [installer process] the syntax of the inf is invalid libwdi:debug [process_message] installer process completed Driver Installation: FAILED (The syntax of the inf is invalid) 1 device found. libwdi:debug [wdi_create_list] Hardware ID: USB\VID_1915&PID_7777&REV_0052 libwdi:debug [wdi_create_list] Compatible ID: USB\Class_FF&SubClass_FF&Prot_00 libwdi:debug [wdi_create_list] Driverless USB device (7): USB\VID_1915&PID_7777\00A4CEFFD0 libwdi:debug [wdi_create_list] Device description: 'Crazyradio USB Dongle'

Thanks for help !

ghost commented 10 years ago

Forget about it, the problem was my Windows8, I had to reinstall it.

Thanks.