Re: libusb0.sys driver signing clarification
Xiaofan Chen <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAGjSPUDtKZCSfotyKcDQ1T69aUAgTPW-3+BM7dvvfsnp=msrxA@mail.gmail.com> |
On Tue, Apr 22, 2014 at 5:27 PM, Pradeepa Senanayake <[email protected]> wrote: > Hello all, > > I'm using libusb-win32 for one of the projects that I'm currently involved > in. I'm working on Windows 7 machine as well as on Windows 8.1 machine. > > I used the 'inf-wizard' to generate the inf file for the driver. I used the > inf file to try installing the driver in both Win7 and Win8.1. inf-wizard from libusb-win32 has been deprecated as it does not work for Windows 8/8.1, You should use libusbK's inf-wizard. > In Windows 7 machine I can install the driver by ignoring the warning the > operating system gives. But in Windows 8.1 I cannot install the driver at > all, it fails telling that the driver is not signed. > > Then I used Zadig to generate the related files. I noticed that a '.cat' > file is also generated through Zadig. I tried this on Win8.1 and I extracted > the driver files and installed the driver manually and flawlessly, without > the driver signature error as well. > > But when I used those files (with cat file) on windows 7 machine it still > gave the unsigned driver issue. > > Then I generated the cat file in windows 7 and istalled the driver use that > package and i did not get the driver signature error. But those files do not > work in Win8.1 environment or any other machine with Win7 installed. > > The questions I have is, > > 1). Is there any way to avoid driver unsigned warning? Two ways. 1) Buy the code signing certificate and sign the driver package 2) Use libusbK's inf-wizard to generate the driver installation package and it will take care of everything for you. > 2). Is the '.cat' file generated through Zadig for only one machine? Zadig is more meant to be used by the end user. > 3). Is there any way to install the libusb-win32 driver on more than one > machines, using same set of files (In windows 7 and windows 8.1)? Yes, two ways. 1) Buy the code signing certificate and sign the driver package, create a driver installer using libwdi or other tools. 2) Use libusbK's inf-wizard to generate the driver installation package and it will take care of everything for you. > 4). If we want to use this driver for our clients do we need to sign it as > well? See above. -- Xiaofan ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform