Page 1 of 1

Windows driver install fails with exit code -2

Posted: Tue Feb 15, 2022 9:45 pm
by theycallmevirgo
Attempting installation of drivers on win10 ent x64 b19043 from offline installer fails with code -2. Log file is attached.

Perhaps there is a separate download somewhere for the drivers so I can troubleshoot in greater detail?

Thanks so much

Joe

Re: Windows driver install fails with exit code -2

Posted: Wed Feb 16, 2022 7:29 am
by ESP_georgik
Thank you for reporting the problem.
This is definitely bug. I've created an issue to resolve it: https://github.com/espressif/idf-installer/issues/113
The installer does not support just an installation of a single driver without ESP-IDF.

There are following workarounds:

Workaround 1:

run command idf-env.exe driver install --ftdi
details: https://github.com/espressif/idf-env#qu ... powershell


Workaround 2:

install driver manually: https://github.com/espressif/idf-instal ... of-drivers

Re: Windows driver install fails with exit code -2

Posted: Wed Feb 16, 2022 11:40 am
by theycallmevirgo
Just FYI, the issue occurs even if all other components are selected for installation.

Re: Windows driver install fails with exit code -2

Posted: Fri Feb 18, 2022 6:34 am
by ESP_georgik
Thank you for notification about the scenario. We will double-check this setup.

Re: Windows driver install fails with exit code -2

Posted: Sun Nov 19, 2023 6:25 am
by arjunguptaatx
I am getting the exact same error. Is there a stable version I can use?