How can I package the libusbK driver on Windows 10 for redistribution?
up vote
1
down vote
favorite
I'm working with a GPS sports logger for which Windows 10 default installs the usbser.sys
driver. This standard driver does not support the WebUSB API. For that reason, on my local Windows 10 machine, I successfully use Zadig (v2.4) to install the libusbK driver.
Because I've open sourced the WebUsb-mtk code specific to this GPS sports logger (and other loggers with the MTK 3329 GPS module), I'd like to also distribute this signed driver to other Windows 10 users of similar hardware.
What are the steps to generate an installation package that correctly disables (?) the existing driver and installs the libusbK driver for my hardware? (LibUSBK is already signed, so I think the signature is not relevant.)
p.s. With Mac OS X, WebUSB for this hardware works out of the box.
windows-10 drivers distribution
New contributor
This question has an open bounty worth +100
reputation from philshem ending in 6 days.
This question has not received enough attention.
add a comment |
up vote
1
down vote
favorite
I'm working with a GPS sports logger for which Windows 10 default installs the usbser.sys
driver. This standard driver does not support the WebUSB API. For that reason, on my local Windows 10 machine, I successfully use Zadig (v2.4) to install the libusbK driver.
Because I've open sourced the WebUsb-mtk code specific to this GPS sports logger (and other loggers with the MTK 3329 GPS module), I'd like to also distribute this signed driver to other Windows 10 users of similar hardware.
What are the steps to generate an installation package that correctly disables (?) the existing driver and installs the libusbK driver for my hardware? (LibUSBK is already signed, so I think the signature is not relevant.)
p.s. With Mac OS X, WebUSB for this hardware works out of the box.
windows-10 drivers distribution
New contributor
This question has an open bounty worth +100
reputation from philshem ending in 6 days.
This question has not received enough attention.
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm working with a GPS sports logger for which Windows 10 default installs the usbser.sys
driver. This standard driver does not support the WebUSB API. For that reason, on my local Windows 10 machine, I successfully use Zadig (v2.4) to install the libusbK driver.
Because I've open sourced the WebUsb-mtk code specific to this GPS sports logger (and other loggers with the MTK 3329 GPS module), I'd like to also distribute this signed driver to other Windows 10 users of similar hardware.
What are the steps to generate an installation package that correctly disables (?) the existing driver and installs the libusbK driver for my hardware? (LibUSBK is already signed, so I think the signature is not relevant.)
p.s. With Mac OS X, WebUSB for this hardware works out of the box.
windows-10 drivers distribution
New contributor
I'm working with a GPS sports logger for which Windows 10 default installs the usbser.sys
driver. This standard driver does not support the WebUSB API. For that reason, on my local Windows 10 machine, I successfully use Zadig (v2.4) to install the libusbK driver.
Because I've open sourced the WebUsb-mtk code specific to this GPS sports logger (and other loggers with the MTK 3329 GPS module), I'd like to also distribute this signed driver to other Windows 10 users of similar hardware.
What are the steps to generate an installation package that correctly disables (?) the existing driver and installs the libusbK driver for my hardware? (LibUSBK is already signed, so I think the signature is not relevant.)
p.s. With Mac OS X, WebUSB for this hardware works out of the box.
windows-10 drivers distribution
windows-10 drivers distribution
New contributor
New contributor
New contributor
asked Nov 13 at 10:36
philshem
65
65
New contributor
New contributor
This question has an open bounty worth +100
reputation from philshem ending in 6 days.
This question has not received enough attention.
This question has an open bounty worth +100
reputation from philshem ending in 6 days.
This question has not received enough attention.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
According to
libusbK - Creating Client Installers With InfWizard,
the installer does basically all its operations by using the
Driver Package Installer (DPInst),
which is a standard feature in Windows.
According to
Using DPInst to Uninstall Driver Packages,
the syntax to uninstall a driver is:
DPInst.exe /u path-to-inf-file
The driver for usbser.sys
I found in the folder
C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
,
so uninstalling it could be by using a command such as:
DPInst.exe /u C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
It would of course be better if your installer could verify first that this
file exists, and if not then search for it.
The next step would be to install libusbK using the command:
DPInst.exe libusbK.inf
Since you have installed libusbK, you should have the .sys
and the .inf
files that belong to it.
You need to have them both in one folder, then invoke DPInst on the .inf
file.
(As I don't have these files, this answer is mostly theory.)
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. Fromusbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.
– harrymc
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
According to
libusbK - Creating Client Installers With InfWizard,
the installer does basically all its operations by using the
Driver Package Installer (DPInst),
which is a standard feature in Windows.
According to
Using DPInst to Uninstall Driver Packages,
the syntax to uninstall a driver is:
DPInst.exe /u path-to-inf-file
The driver for usbser.sys
I found in the folder
C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
,
so uninstalling it could be by using a command such as:
DPInst.exe /u C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
It would of course be better if your installer could verify first that this
file exists, and if not then search for it.
The next step would be to install libusbK using the command:
DPInst.exe libusbK.inf
Since you have installed libusbK, you should have the .sys
and the .inf
files that belong to it.
You need to have them both in one folder, then invoke DPInst on the .inf
file.
(As I don't have these files, this answer is mostly theory.)
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. Fromusbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.
– harrymc
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
add a comment |
up vote
0
down vote
According to
libusbK - Creating Client Installers With InfWizard,
the installer does basically all its operations by using the
Driver Package Installer (DPInst),
which is a standard feature in Windows.
According to
Using DPInst to Uninstall Driver Packages,
the syntax to uninstall a driver is:
DPInst.exe /u path-to-inf-file
The driver for usbser.sys
I found in the folder
C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
,
so uninstalling it could be by using a command such as:
DPInst.exe /u C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
It would of course be better if your installer could verify first that this
file exists, and if not then search for it.
The next step would be to install libusbK using the command:
DPInst.exe libusbK.inf
Since you have installed libusbK, you should have the .sys
and the .inf
files that belong to it.
You need to have them both in one folder, then invoke DPInst on the .inf
file.
(As I don't have these files, this answer is mostly theory.)
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. Fromusbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.
– harrymc
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
add a comment |
up vote
0
down vote
up vote
0
down vote
According to
libusbK - Creating Client Installers With InfWizard,
the installer does basically all its operations by using the
Driver Package Installer (DPInst),
which is a standard feature in Windows.
According to
Using DPInst to Uninstall Driver Packages,
the syntax to uninstall a driver is:
DPInst.exe /u path-to-inf-file
The driver for usbser.sys
I found in the folder
C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
,
so uninstalling it could be by using a command such as:
DPInst.exe /u C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
It would of course be better if your installer could verify first that this
file exists, and if not then search for it.
The next step would be to install libusbK using the command:
DPInst.exe libusbK.inf
Since you have installed libusbK, you should have the .sys
and the .inf
files that belong to it.
You need to have them both in one folder, then invoke DPInst on the .inf
file.
(As I don't have these files, this answer is mostly theory.)
According to
libusbK - Creating Client Installers With InfWizard,
the installer does basically all its operations by using the
Driver Package Installer (DPInst),
which is a standard feature in Windows.
According to
Using DPInst to Uninstall Driver Packages,
the syntax to uninstall a driver is:
DPInst.exe /u path-to-inf-file
The driver for usbser.sys
I found in the folder
C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
,
so uninstalling it could be by using a command such as:
DPInst.exe /u C:WindowsWinSxSamd64_dual_usbser.inf_31bf3856ad364e35_10.0.17134.1_none_8281fb62ec80df7e
It would of course be better if your installer could verify first that this
file exists, and if not then search for it.
The next step would be to install libusbK using the command:
DPInst.exe libusbK.inf
Since you have installed libusbK, you should have the .sys
and the .inf
files that belong to it.
You need to have them both in one folder, then invoke DPInst on the .inf
file.
(As I don't have these files, this answer is mostly theory.)
edited yesterday
answered yesterday
harrymc
247k10255542
247k10255542
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. Fromusbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.
– harrymc
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
add a comment |
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. Fromusbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.
– harrymc
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
thanks! so the installer is actually just a dos script? Can I uninstall usbser.sys for just this device, and not for potentially all devices?
– philshem
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. From
usbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.– harrymc
yesterday
It was probably done in the installer via a program, rather than a script, but might be possible from a script. From
usbser.inf
I gather that this is a generic driver that is associated with USB devices in general and doesn't specify device-ids. I don't have the files for libusbK so can't examine them.– harrymc
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
I read a bit more. It seems one way is to use Visual Studio to create a driver package docs.microsoft.com/en-us/windows-hardware/drivers/develop/… Also it seems DPInst is now DIFX
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
Also it seems that Zadig.exe can create the files necessary to share as a driver install package. I'll keep trying, but many thanks for a push in the right direction.
– philshem
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
DPInst is still there and is used by the libusbK installers, so it still works as well as ever. If made available libusbK.inf/sys I'll compare with usbser.inf.
– harrymc
yesterday
add a comment |
philshem is a new contributor. Be nice, and check out our Code of Conduct.
philshem is a new contributor. Be nice, and check out our Code of Conduct.
philshem is a new contributor. Be nice, and check out our Code of Conduct.
philshem is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1374992%2fhow-can-i-package-the-libusbk-driver-on-windows-10-for-redistribution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown