Awesome Open Source
Awesome Open Source

libwdi: A Windows Driver Installation library for USB devices

Build status Coverity Scan Build Status Licence

Main features

  • Automated inf creation, using reported USB device name
  • Automated catalog file creation and signing, using autogenerated certificate
  • Automated driver files extraction, for both 32 and 64 bit platforms
  • Automated driver installation, including UAC elevation where necessary
  • Single library embedding all the required files
  • Supports Windows platform from Windows 7 to Windows 10

Additional features

  • Embedding of WinUSB, libusb0.sys or libusbK.sys, USB Serial (CDC) or your own USB drivers (eg. WHQL)
  • Full locale support with UTF-8 API strings and UTF-16 autogenerated inf files
  • Resolution of USB Vendor IDs, based on the data maintained by Stephen J. Gowdy at
  • Fully Open Source (LGPL v3), with multiple sample applications
  • Supports MinGW32, MinGW-w64, Visual Studio, WDK

Installation and Compilation


API usage




Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c (14,522
windows (1,370
usb (107
drivers (28
usb-devices (18
libusb (15

Find Open Source By Browsing 7,000 Topics Across 59 Categories