| 
      
      
      From: Xiaofan C. <xia...@gm...> - 2007-08-19 23:44:29
      
     | 
| On 8/19/07, Benedikt Sauter <sa...@si...> wrote: > Hello, > > Did anybody know how I can pre install libusdrivers? > > I have an multi device, which can be get by an program different > firmwares. Each firmware normally means an own usb device. > > http://www.embedded-projects.net/usbprog (there is an screenshot for > better association) > > Now I have to pre install all possible important drivers. But How? Has > got anybody a hint? > Stephan has already done that for you. You need Inno Setup. Read the template Inno Setup file libusb\examples\driver_installer_template.iss. [quote] ; This examples demonstrates how libusb's drivers ; can be installed automatically along with your ; application using an installer. ; ; Requirements: Inno Setup (http://www.jrsoftware.org/isdl.php) "; To use this script, do the following: ; - copy libusb's driver (libusb0.sys, libusb0.dll) to this folder ; - create an .inf and .cab file using libusb's 'inf-wiward.exe' ; and save the generated files in this folder. ; - in this script replace <your_inf_file.inf> with the name of your .inf file ; - customize other settings (strings) ; - open this script with Inno Setup ; - compile and run" [/quote] It works for me under Windows XP SP2. Hope this helps. Regards, Xiaofan |