Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMD command #324

Closed
dythj opened this issue Apr 25, 2024 · 2 comments
Closed

CMD command #324

dythj opened this issue Apr 25, 2024 · 2 comments

Comments

@dythj
Copy link

dythj commented Apr 25, 2024

Hello,I have a question I'd like to ask,whether the software can be started using command line parameters?
Like this: C:\Users\Desktop\test> zadig-2.8.exe --DeviceName --ReplaceDriver --libusb-win32

@dythj
Copy link
Author

dythj commented Apr 25, 2024

I have one more question:

whether the software supports the installation HIDUSB driver or supports installation the custom driver ?

What is the format of the installed driver file? .inf or .sys

@pbatard
Copy link
Owner

pbatard commented Apr 25, 2024

whether the software can be started using command line parameters

No.

If you want a commandline application, you should use wdi-simple from the libwdi samples, which you will need to compile yourself.

whether the software supports the installation HIDUSB driver

HID does not require driver installation, so no. It is installed automatically by Windows.

What is the format of the installed driver file? .inf or .sys

There's not such thing as .inf or .sys format for driver installation. A .inf describes the driver installation paramater and references a .sys kernel driver so both are needed.

It looks to me like, whatever you are trying to accomplish, you haven't done enough research, and you really need to spend some more time doing so before you do something hasty like replacing a working HID driver, and end up not being able to use your device at all. You should be able to answer all these questions if you do your research.

@pbatard pbatard closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants