This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Install different redistributables for x86, x64 and ia64
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
09:40 AM
Install different redistributables for x86, x64 and ia64
Hi all,
I'm going to include some large redistributables in my installer, and need to install the correct ones depending on machine arcitecture.
My first thought was to include all in the build and add conditions on them, but the conditions seem only to be on the OS, not the CPU type.
My ideal solution to this would be to be able to produce 3 installers from my project, one for each CPU type with the correct redist files in it. That would allow users to pick whichever they wanted.
Is that possible? If not is there a way to detect the CPU architecture. I have seen some ways of detecting a 32/64 bit difference or and Intel chip, but intel makes x86, x64 and ia64 chips 😞
Thanks for reading.
I'm going to include some large redistributables in my installer, and need to install the correct ones depending on machine arcitecture.
My first thought was to include all in the build and add conditions on them, but the conditions seem only to be on the OS, not the CPU type.
My ideal solution to this would be to be able to produce 3 installers from my project, one for each CPU type with the correct redist files in it. That would allow users to pick whichever they wanted.
Is that possible? If not is there a way to detect the CPU architecture. I have seen some ways of detecting a 32/64 bit difference or and Intel chip, but intel makes x86, x64 and ia64 chips 😞
Thanks for reading.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
10:38 AM
hi there,
u can readout the environment var PROCESSOR_ARCHITECTURE
and build conditions with it
u can readout the environment var PROCESSOR_ARCHITECTURE
and build conditions with it
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
02:06 PM
An easier way is to use the internal variables in the installer
Intel64 or Msix64
They will be set to true (or 1) if running the the specific platform type.
Please note that your installer will have to be a 32 bit isntaller and will therefore not be able to use the [ProgramFiles64Folder] property or have access to the 64 bit portion of the registry.
Intel64 or Msix64
They will be set to true (or 1) if running the the specific platform type.
Please note that your installer will have to be a 32 bit isntaller and will therefore not be able to use the [ProgramFiles64Folder] property or have access to the 64 bit portion of the registry.