-
Notifications
You must be signed in to change notification settings - Fork 478
Zadig - install-filter.exe not found while trying to install libusb-win32 filter driver #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I get the same here, an error dialog popped up with "Windows cannot find 'install-filter.exe'. Make sure you typed the name correctly ...". The "Installing Driver..." with green progress bar sits there displaying messages about the amount of time it can take. Once I click OK on the error dialog the install stops with "Driver Installation: FAILED", log below:
All the files seem to be in the 'usb_driver' folder. When I try to run 'installer_x64.exe' from there a dialog just flashes and nothing happens. I installed the program 'libusb-win32-devel-filter-1.2.6.0.exe' and ran 'install-filter-win.exe'. This installs the filter drivers without an issue. |
If you are mainly interested in the filter driver, I will recommend libusbk. libusbk has the libwdi (albeit older version) based installer for libusb0.sys/libusbk.sys/WinUSB (similar for Zadig but Zadig is probably easier to use) and GUI filter installaer as well. Ref: latest libusbk 3.0.8.0 release. |
https://github.com/pbatard/libwdi/wiki/Zadig Or if your application is only Windows, you can consider libusbk as well but the API is quite a bit different. |
I can reproduce the issue in the latest Zadig release as well. For now the workaround is to use the filter driver installer from libusbk-inf-wizard as part of the libusbk release here: https://github.com/mcuee/libusbk/releases |
Indeed that may be an issue. I think it needs to check x64 or x86 and then use the "install-filter.exe" from either "amd64\install-filter.exe" or "x86\install-filter.exe" like the following codes.
|
BTW, usbdk may be a replacement for the filter driver, and libusb-1.0 Windows backend supports usbdk. |
Xiaofan, thanks for your input on this. I think the missing subdirectory in the path is indeed the problem and I'll try to fix that in the next release. |
I get a (localized) error message telling me that install-filter.exe was not found while trying to install the libusb-win32 filter driver in Zadig. The debug log does not name a path, but Sysinternals Process Monitor shows me, that Zadig tries to locate install-filter.exe in C:\Users\Nutzer\usb_driver\ (and after failing there looking in directories from the PATH variable, which probably should be considered dangerous) while the platform specific executables are located in the amd64 and x86 sub-directories.
The relevant line in the code seems to be
libwdi/libwdi/libwdi.c
Line 1567 in bc2336e
Complete log follows:
The text was updated successfully, but these errors were encountered: