cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Install Different Files Based on the Operating System 32/64-Bit

Install Different Files Based on the Operating System 32/64-Bit

Introduction

When distributing both 32 and 64-bit files in a single installer, specific files based on the OS should be installed on the machine. When you run the installer on a 32-bit machine, 32-bit files should get installed. When you run the same installer on a 64-bit machine,  64-bit files should be installed.

Instructions

  1. Open InstallShield and create a Basic MSI Project.
  2. Go to the Setup Design view and add a feature and add two components.
  3. Name one component 32-bit component and the other 64-bit component.
  4. Add a 32-bit file to the 32-bit component and add a 64-bit file to the 64-bit component.
  5. Now set a condition for each component.  
  6. Select the 32-bit component and apply the condition NOT VersionNT64.
  7. Select the 64-bit component and add condition the condition VersionNT64.
  8. Now save and build the project.
  9. Now run the installer in a 32-bit machine. The 32-bit component files will be installed.
  10. Then run the same installer on a 64-bit machine. The 64-bit component files will be installed.

Reference

See Configuring Component Conditions in the InstallShield User Guide.

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 20, 2023 09:20 AM
Updated by:
Contributors