Re: How to uninstall the libusbk driver using an unistaller

Xiaofan Chen <[email protected]> Wed, 19 Aug 2015 13:17:11 +0800
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CAGjSPUABiksQK-ioqfZhOz_kaqrLwfuzcgBNd4kAiKbrYYbhUg@mail.gmail.com>
On Wed, Aug 19, 2015 at 11:43 AM, 张华 <[email protected]> wrote:
> I've created my driver installer using libusbK-inf-wizard. So I can invoke
> the generated "InstallDriver.exe" from my application installer to install
> my drivers. But how to uninstall the drivers using my application installer?
> Can "InstallDriver.exe" accept some switch like dpinst.exe, such as '/u' to
> uninstall the installed drivers?

I am not so sure about that. But there should be  an uninstall entry
in the list of programs here (for Windows 7, similar for other Windows
versions).
 Control Panel --> Programs and Features --> Uninstall a program

If that entry is gone for some cases, users can still use
Control to uninstall the driver from Device Manager.
Ref: https://github.com/pbatard/libwdi/wiki/FAQ#zadig

Usually driver installed does not provide an option to uninstall
a driver. End user is expected to leave it there or use the
Control Panel to uninstall the driver.

> BTW, it seems Win10 need new signature mechanism. I wonder
> if libusbk and the generated driver installer can work well on Win10?

It should work but I have not installed Win10 myself. Please take note
libusbK.sys itself is timestamped and work under Windows 10. The drive
package use the self-signing method similar to libwdi and it should
work under Windows 10 as well.
   https://github.com/pbatard/libwdi/wiki/FAQ

Have you tried it under Windows 10?



-- 
Xiaofan

------------------------------------------------------------------------------
_______________________________________________
Libusb-win32-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel