Skip to content
This repository

Zadig fails to install WinUSB driver #1

Closed
holgero opened this Issue August 10, 2012 · 4 comments

4 participants

Holger Oehm Pete Batard peica x86Daddy
Holger Oehm

Hi, I used the latest zadig version ( http://sourceforge.net/projects/libwdi/files/zadig/zadig_v2.0.1.156.7z/download ) and tried to install the winusb driver for my device. During the installation a dialog box says: "The driver installation failed.". In the log I see the messages:
libwdi:debug [syslog] inf: Openend INF: 'C:\usb_driver2\winusb_generic_device.inf' ([strings])
libwdi:debug [process_message] switching timeout back to finite
libwdi:debug [installer process] the system can not find the file specified (C:
\usb_driver2\winusb_generic_device.inf)
...

I can open the file C:\usb_driver2\winusb_generic_device.inf with a text editor without any problems.

I then tried to use the previous version (http://sourceforge.net/projects/libwdi/files/zadig/zadig_v2.0.1.154.7z/download) and that installed the WinUSB driver for my device without a problem!

peica

Yes, I meet the same issue on windows 7.

x86Daddy

I find that it generates files in the subdirectories with name WdfCoInstaller01011.dll but the inf shows WdfCoInstaller01009.dll in a few places.

Changing the names in the inf allowed me to manually install the drivers... but rerunning zadig regenerated the error by rewriting the inf files. Changing the actual file's name from WdfCoInstaller01011.dll to WdfCoInstaller01009.dll and re-running zadig works, because while zadig regenerates the unreferenced 11 file, the infs can use the 09 file that remained from my rename.

Pete Batard
Owner

Thanks for the report. Libwdi recently upgraded the CoInstaller files to 01011, but it looks like I may have overlooked some locations. I'll try to fix that and push a new version of Zadig soon.

Pete Batard
Owner

Should be fixed in the latest version of Zadig. Note that the use of KMDF 1.11 may require a one-off reboot on Windows 7, the first time it is installed.

Pete Batard pbatard closed this issue from a commit August 20, 2012
Pete Batard [core] update inf and cat for dynamic WDF & KMDF version
* Files were hardcoded for 01009/1.9
* Closes #1
* Note that upgrading to KMDF 1.11 may require a reboot
f7aafc1
Pete Batard pbatard closed this in f7aafc1 August 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.