Satz Klauer
2011-11-27 16:01:42 UTC
Hi,
I plan to create a (NSIS) installer script to let the .inf file of my
libusb1-based device be installed automatically so that the user does
not have to tell Windows where to look for the .inf file.
I found an old mailing list thread that pointed to this example:
http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb/examples/driver_installer_template.iss?revision=395&view=markup
There a function usb_install_driver_np_rundll out of libusb0 is called
to install the .inf file. Unfortunately this function does not exist
for libusb1.
So what to do? How else can I install an .inf file?
Elmi
PS: there is a description for NSIS that recommends to use pnputil for
Win Vista/7 but that does not work, pnputil always fails with an
"access denied" error although I have all required privileges...
I plan to create a (NSIS) installer script to let the .inf file of my
libusb1-based device be installed automatically so that the user does
not have to tell Windows where to look for the .inf file.
I found an old mailing list thread that pointed to this example:
http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb/examples/driver_installer_template.iss?revision=395&view=markup
There a function usb_install_driver_np_rundll out of libusb0 is called
to install the .inf file. Unfortunately this function does not exist
for libusb1.
So what to do? How else can I install an .inf file?
Elmi
PS: there is a description for NSIS that recommends to use pnputil for
Win Vista/7 but that does not work, pnputil always fails with an
"access denied" error although I have all required privileges...