Skip to content

Commit 5b31aaf

Browse files
committed
Update Windows installer script to allow selecting between FTDI driver versions
1 parent fea2773 commit 5b31aaf

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Resources/Installers/Windows/windows_installer_script.iss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,24 @@ SetupLogging=yes
2525

2626
[Tasks]
2727
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
28-
Name: install_usb1; Description: "Install FTDI D3XX driver (Open Ephys FPGA board)"; GroupDescription: "Acquisition Board drivers:";
29-
Name: install_usb2; Description: "Install Opal Kelly Front Panel USB driver (Opal Kelly FPGA board)"; GroupDescription: "Acquisition Board drivers:"; Flags: unchecked;
28+
Name: install_ftdi_14001; Description: "Install FTDI D3XX driver v1.4.0.1 (Open Ephys FPGA Acquisition board)"; GroupDescription: "FTDI D3XX driver version:"; Flags: exclusive;
29+
Name: install_ftdi_13010; Description: "Install FTDI D3XX driver v1.3.0.10 (Neuropixels OneBox)"; GroupDescription: "FTDI D3XX driver version:"; Flags: exclusive unchecked;
30+
Name: install_ok_usb; Description: "Install Opal Kelly Front Panel USB driver"; GroupDescription: "Opal Kelly FPGA Acquisition Board drivers:"; Flags: unchecked;
3031

3132
[Files]
3233
Source: "..\..\..\Build\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; BeforeInstall: UpdateProgress(0);
33-
Source: "https://ftdichip.com/wp-content/uploads/2025/08/WU_Driver_Installers.7z"; DestDir: "{tmp}"; DestName: "WU_Driver_Installers.7z"; ExternalSize: 206_075_224; Flags: external download extractarchive recursesubdirs ignoreversion; Tasks: install_usb1; BeforeInstall: UpdateProgress(50);
34+
Source: "..\..\DLLs\FTD3XXDriver_WHQLCertified_1.3.0.10_Installer.exe"; DestDir: {tmp}; Flags: deleteafterinstall; Tasks: install_ftdi_13010; BeforeInstall: UpdateProgress(80);
35+
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);
3436
Source: "..\..\DLLs\FrontPanelUSB-DriverOnly-4.5.5.exe"; DestDir: {tmp}; Flags: deleteafterinstall; BeforeInstall: UpdateProgress(90);
3537

3638
[Icons]
3739
Name: "{autodesktop}\Open Ephys GUI"; Filename: "{app}\open-ephys.exe"; Tasks: desktopicon
3840
Name: "{autoprograms}\Open Ephys GUI"; Filename: "{app}\open-ephys.exe"
3941

4042
[Run]
41-
Filename: "{tmp}\WU_Driver_Installers\FTDI_DriverInstaller_WU_x64.exe"; StatusMsg: "Installing FTDI D3XX driver..."; Tasks: install_usb1; Flags: skipifsilent
42-
Filename: "{tmp}\FrontPanelUSB-DriverOnly-4.5.5.exe"; StatusMsg: "Installing Front Panel USB driver..."; Tasks: install_usb2; Flags: skipifsilent
43+
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
44+
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
45+
Filename: "{tmp}\FrontPanelUSB-DriverOnly-4.5.5.exe"; StatusMsg: "Installing Front Panel USB driver..."; Tasks: install_ok_usb; Flags: skipifsilent
4346
Filename: "{app}\open-ephys.exe"; Description: "Launch Open Ephys GUI"; Flags: postinstall nowait skipifsilent
4447

4548
[InstallDelete]

0 commit comments

Comments
 (0)