Skip to content

Commit 4c1c1e0

Browse files
committed
Update Windows installer to install new FTDI driver from INF file
1 parent e4ffd12 commit 4c1c1e0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

23.2 KB
Binary file not shown.
10.8 KB
Binary file not shown.

Resources/Installers/Windows/windows_installer_script.iss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Name: install_ok_usb; Description: "Install Opal Kelly Front Panel USB driver (O
3333
[Files]
3434
Source: "..\..\..\Build\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; BeforeInstall: UpdateProgress(0);
3535
Source: "..\..\DLLs\FTD3XXDriver_WHQLCertified_1.3.0.10_Installer.exe"; DestDir: {tmp}; Flags: deleteafterinstall; Tasks: install_ftdi\13010; BeforeInstall: UpdateProgress(80);
36-
Source: "https://github.com/open-ephys-plugins/ftdi-drivers/raw/refs/heads/main/installers/FTDI_DriverInstaller_1.4.0.1_x64.exe"; DestDir: "{tmp}"; DestName: "FTDI_DriverInstaller_1.4.0.1_x64.exe"; ExternalSize: 71_818_824; Flags: external download ignoreversion; Tasks: install_ftdi\14001; BeforeInstall: UpdateProgress(50);
36+
Source: "..\..\DLLs\WU_FTD3XX_Driver\FTD3XXWU.Inf"; DestDir: "{tmp}"; Flags: deleteafterinstall; Tasks: install_ftdi\14001; BeforeInstall: UpdateProgress(50);
37+
Source: "..\..\DLLs\WU_FTD3XX_Driver\FTD3XXWU.cat"; DestDir: "{tmp}"; Flags: deleteafterinstall; Tasks: install_ftdi\14001;
3738
Source: "..\..\DLLs\FrontPanelUSB-DriverOnly-4.5.5.exe"; DestDir: {tmp}; Flags: deleteafterinstall; BeforeInstall: UpdateProgress(90);
3839

3940
[Icons]
@@ -42,7 +43,7 @@ Name: "{autoprograms}\Open Ephys GUI"; Filename: "{app}\open-ephys.exe"
4243

4344
[Run]
4445
Filename: "{tmp}\FTD3XXDriver_WHQLCertified_1.3.0.10_Installer.exe"; StatusMsg: "Installing FTDI D3XX driver v1.3.0.10..."; Tasks: install_ftdi\13010; Flags: skipifsilent
45-
Filename: "{tmp}\FTDI_DriverInstaller_1.4.0.1_x64.exe"; StatusMsg: "Installing FTDI D3XX driver v1.4.0.1..."; Tasks: install_ftdi\14001; Flags: skipifsilent
46+
Filename: "{sys}\pnputil.exe"; Parameters: "/add-driver ""{tmp}\FTD3XXWU.Inf"" /install"; StatusMsg: "Installing FTDI D3XX driver v1.4.0.1..."; Tasks: install_ftdi\14001; Flags: runascurrentuser skipifsilent
4647
Filename: "{tmp}\FrontPanelUSB-DriverOnly-4.5.5.exe"; StatusMsg: "Installing Front Panel USB driver..."; Tasks: install_ok_usb; Flags: skipifsilent
4748
Filename: "{app}\open-ephys.exe"; Description: "Launch Open Ephys GUI"; Flags: postinstall nowait skipifsilent
4849

0 commit comments

Comments
 (0)