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 7738181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:11:56+00:00 2026-06-01T08:11:56+00:00

I have a simple inno-setup script that allows my setup to install either the

  • 0

I have a simple inno-setup script that allows my setup to install either the 32bit or 64bit version of my program based on the Is64BitInstallMode value. This works great, but I’d like to give users the option to install the 32bit version even if they are on 64bit Windows. I’d like the choice to be made before choosing the application install path so that it can default to either the 32bit or 64bit program files folder based on their choice. I’d also like to avoid the question entirely if they are on 32bit windows. I’ve been playing with the various features, but haven’t figured a way to do it yet. If I can’t do it easily I’ll just do two separate installs (and I’m trying to decide what makes the most sense!) Any suggestions are greatly appreciated!

  • 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-01T08:11:57+00:00Added an answer on June 1, 2026 at 8:11 am

    I haven’t actually done the following yet, but this is what I’d try:

    1. You need a new installer page that allows the user to choose whether the 32bit or 64bit version should be installed (this page should only be made visible on a 64bit Windows)
    2. You need a variable that holds an indicator for the “bittyness” the user has selected. It should be initialized to 32bit on 32bit systems and to 64bit on 64bit systems depending on Is64BitInstallMode.
    3. After the page in 1. has been finished, you should update the variable created in 2. with the value that reflects the user’s choice.
    4. Add the files for both 32bit and 64bit version to the installer
    5. Add a new function that returns true if the 64bit version should be installed (e.g. Install64BitVersion)
    6. Add a new function that returns true if the 32bit version should be installed (e.g. Install32BitVersion)
    7. Change the File entries in the Files section to be installed conditionally:

    This is an example for the Files section:

    [Files]
    Source: 32bitexe.exe; DestDir: {...}; Check: Install32BitVersion
    Source: 64bitexe.exe; DestDir: {...}; Check: Install64BitVersion
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot find a way for Inno Setup to install drivers. I have checked
I have simple win service, that executes few tasks periodically. How should I pass
I have simple HTML code with some JavaScript. It looks like: <html> <head> <script
I have simple WinForms application where modifying Windows Registry. The problem is that in
I am using Inno Setup version 5.4.2. I want to define the path for
I have a simple CXF RS bundle deployed in Fuse 4.2 that works fine
I have Implemented a simple program which simulates $ls -l | wc -c command
I have simple Hello World C++ program (main.cpp): #include <iostream> using namespace std; int
I have a simple query that runs in SQL 2008 and uses a custom
i have simple regular expression: ^123$ Matches are for example 123 1234 etc. How

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.