I have an Inno Script installer that gave the user the option to install only the 32-bit version of Firebird. Now that I have a 64-bit machine and I used 6-bit Firebird to confirm that my application works with it, I want my installer to show the 32-bit Firebird installer on 32-bit platforms and the 64-bit installer on 64-bit platforms.
In the "Installation Actions" section, I show a check box for the Firebird installer, giving the user the option to install it if it is not installed or does not start the Firebird installation, if they already have it.
This is from my script:
[Run] Filename: {app}\Firebird-2.5.1.26351_1_x64.exe; Parameters: "/SILENT /NOCPL"; WorkingDir: {app}; Flags: postinstall skipifsilent 64bit; Check: Is64BitInstallMode; Filename: {app}\Firebird-2.5.1.26351_1_Win32.exe; Parameters: "/SILENT /NOCPL"; WorkingDir: {app}; Flags: postinstall skipifsilent 32bit; Check: "not Is64BitInstallMode";
The problem is that only a 32-bit installer is displayed in the dialog box.
Both files are included, so both are available during application installation:
[Files] Source: ..\Firebird-2.5.1.26351_1_x64.exe; DestDir: {app} Source: ..\Firebird-2.5.1.26351_1_Win32.exe; DestDir: {app}
How can I make the installer show the 64-bit Firebird installer on 64-bit platforms?
thanks
source share