Page 1 of 1

[SOLVED] Windows 10 Driver

Published: June 7, 2018 - 7:17 PM
by agatoi
Good morning,
I am having trouble installing drivers for Esao Jeulin consoles on Windows 10 64-bit systems.

However, the package works on Windows 7

This installation causes the error: Warning: CalledProcessErrorOutput()

The command-line installation goes smoothly, but there's a problem with the package:
whether it be:

Code: Select all

    currentpath = os.path.dirname(os.path.realpath(__file__))
    print("Installation drivers")
    run_notfatal(r'C:\Windows\System32\pnputil.exe -i -a %s\Esao_64bits\EsaoUsb.inf' %currentpath)
 
Or

Code: Select all

    currentpath = os.path.dirname(os.path.realpath(__file__))
    print("Installation drivers")
    run_notfatal(r'C:\Windows\System32\pnputil.exe /add-driver %s\Esao_64bits\EsaoUsb.inf /install' %currentpath)
 

Re: Windows 10 Driver

Published: June 7, 2018 - 8:48 PM
by sfonteneau
https://www.wapt.fr/en/doc-1.5/Creation ... edirection
agatoi wrote: June 7, 2018 - 7:17 PM

Code: Select all

with disable_file_system_redirection():
    run_notfatal(r'C:\Windows\System32\pnputil.exe -i -a %s\Esao_64bits\EsaoUsb.inf' % basedir)
 
For explanation: wapt is a 32 bit application, Windows will therefore provide a modified view of the system: system32 is therefore redirected.

https://msdn.microsoft.com/fr-fr/librar ... s.85).aspx

with disable_file_system_redirection(): provided the correct view to wapt

[SOLVED] Re: Windows 10 driver

Published: June 8, 2018 - 12:26
by agatoi
That was it, thank you Simon!