Crouzet Virtual display package
Published: November 27, 2023 - 11:39 AM
Good morning,
I'm trying to create a package for the Crouzet "Virtual Display" software. I based it on my Crouzet Soft and Touch Soft packages, which also install drivers, but I still have these two screens when Setup_CVD_PC_V2_3_01_02.exe is launched (see attached image).
In my package, I copied the "DriverUSB" driver directory from "C:\Program Files (x86)\Crouzet automation\Crouzet Virtual Display\". I tried installing the drivers using pnputil or dpinst, but I get the same screens. By manually clicking "Next" and "Finish", the package completes the installation without errors.
Here is the install() function:
I'm trying to create a package for the Crouzet "Virtual Display" software. I based it on my Crouzet Soft and Touch Soft packages, which also install drivers, but I still have these two screens when Setup_CVD_PC_V2_3_01_02.exe is launched (see attached image).
In my package, I copied the "DriverUSB" driver directory from "C:\Program Files (x86)\Crouzet automation\Crouzet Virtual Display\". I tried installing the drivers using pnputil or dpinst, but I get the same screens. By manually clicking "Next" and "Finish", the package completes the installation without errors.
Here is the install() function:
Code: Select all
def install():
print(r'Installation du certificat Crouzet et SiliconLabs')
currentpath = os.path.dirname(os.path.realpath(__file__))
run(r'C:\Windows\System32\certutil.exe -addstore "TrustedPublisher" %s\crouzet.cer' % currentpath)
run(r'C:\Windows\System32\certutil.exe -addstore "TrustedPublisher" %s\siliconlabs.cer' % currentpath)
print(r'Installation des pilotes USB')
with disable_file_system_redirection():
run(r'C:\Windows\System32\pnputil.exe -i -a "%s\DriverUSB\x64\ftdibus.inf"' % basedir)
run(r'C:\Windows\System32\pnputil.exe -i -a "%s\DriverUSB\x64\ftdiport.inf"' % basedir)
run(r'C:\Windows\System32\pnputil.exe -i -a "%s\DriverUSB\windrv_BLE\x64\dfu.inf"' % basedir)
run(r'C:\Windows\System32\pnputil.exe -i -a "%s\DriverUSB\windrv_BLE\x64\usbserial.inf"' % basedir)
#run_notfatal(r'%s\DriverUSB\windrv_BLE\x64\dpinst.exe /S /F' % currentpath)
#run_notfatal(r'%s\DriverUSB\x64\dpinst.exe /S /F' % currentpath)
print(u'Installation de %s' % app_name)
run_notfatal('Setup_CVD_PC_V2_3_01_02.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-')