To comple USBprog on Win32, perform following steps:

  1. Download Devcpp 5

  2. Install the libxml, iconv and libcurl option packs.

  3. Download libusb (e.g. libusb-win32-device-bin-0.1.12.1.tar.gz).

  4. Extract usbprog to some directory that doesn't contain spaces (so your
     “home directory” is the wrong place on Windows).

  5. Extract the libusb tarball to win32/ directory of usbprog. Rename the
     libusb-win32-device-bin-0.1.12.1 directory to libusb-win32 (you should have
     win32/libusb-win32/include now).

  6. Open following projects in Devcpp and compile it then with Ctrl+F9.

      a) win32/libmd5.dev
      b) win32/libusbprog.dev
      c) win32/usbprog.dev
      d) win32/usbprog-gui.dev

  7. Copy libcurl.dll, libiconv-2.dll, libxml2.dll, mingw10.dll and zlib1.dll
     to the win32 directory.

  8. Execute usbprog.exe.


To create the installer just “compile” the installer.nsi file with NSIS from
<http://nsis.sourceforge.net>.
