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: How to descern within Installscript if running in x86 or x64
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
Jun 10, 2011
09:40 AM
How to descern within Installscript if running in x86 or x64
Hi all-
In an installscript script file, I want to run one section of code if I'm installing on x86 and I want to run a different section of code if I'm installing on a x64 computer. Is there some sort of a built-in variable that I can do an If statement on to determine this?
Thanks, AL
In an installscript script file, I want to run one section of code if I'm installing on x86 and I want to run a different section of code if I'm installing on a x64 computer. Is there some sort of a built-in variable that I can do an If statement on to determine this?
Thanks, AL
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 10, 2011
02:18 PM
For MSI projects, you can use VersionNT64 as part of a condition. For InstallScript code, you can reference SYSINFO.bIsWow64.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)