Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8805109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:46:44+00:00 2026-06-14T01:46:44+00:00

I have an Inno Script installer that gave the user the option of installing

  • 0

I have an Inno Script installer that gave the user the option of installing only the 32 bit version of Firebird. Now that i have a 64bit machine and have used the 6 bit Firebird to confirm that my app works with it I want my installer to show the 32 bit Firebird installer on 32bit platforms and the 64bit installer on 64bit platforms.

In the Install Actions section I am showing a checkbox for the Firebird installer, thus giving the user the option of installing it if it is not installed or not running the Firebird install 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, only the 32bit installer shows on the dialog form.

Both files are included so that both are available during my app install:

[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 get my installer to show the 64bit Firebird installer on 64bit platforms?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:46:46+00:00Added an answer on June 14, 2026 at 1:46 am

    There’s an example of doing exactly this (installing the 32-bit version on Win32 or 64-bit on Win64) in the Examples\64BitTwoArch.iss file that’s installed with InnoSetup.

    ; -- 64BitTwoArch.iss --
    ; Demonstrates how to install a program built for two different
    ; architectures (x86 and x64) using a single installer.
    
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
    
    [Setup]
    AppName=My Program
    AppVersion=1.5
    DefaultDirName={pf}\My Program
    DefaultGroupName=My Program
    UninstallDisplayIcon={app}\MyProg.exe
    Compression=lzma2
    SolidCompression=yes
    OutputDir=userdocs:Inno Setup Examples Output
    ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
    ; done in "64-bit mode" on x64, meaning it should use the native
    ; 64-bit Program Files directory and the 64-bit view of the registry.
    ; On all other architectures it will install in "32-bit mode".
    ArchitecturesInstallIn64BitMode=x64
    ; Note: We don't set ProcessorsAllowed because we want this
    ; installation to run on all architectures (including Itanium,
    ; since it's capable of running 32-bit code too).
    
    [Files]
    ; Install MyProg-x64.exe if running in 64-bit mode (x64; see above),
    ; MyProg.exe otherwise.
    Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: Is64BitInstallMode
    Source: "MyProg.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode
    Source: "MyProg.chm"; DestDir: "{app}"
    Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
    
    [Icons]
    Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple inno-setup script that allows my setup to install either the
I have an application installer created with Inno Setup that deploys multiple binaries and
I am building an Inno Setup script and have libraries that need to be
I have setup an inno setup script that installs my application. The resulting setup.exe
I need to create a INNO Setup script that will allow me to have
I have a small Inno script that checks the registry for you current .Net
I have a Inno Setup project that I want to check if the application
We are installing out program via inno setup. We have one main exe file,
I have an Inno Setup script with preprocessor directives ( #define s, #if s,
I have a script that checks if a file exists or not using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.