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
- :
- custom action condition to reveal if operating system (not cpu necessarily) is 64 bit
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 27, 2010
08:29 AM
custom action condition to reveal if operating system (not cpu necessarily) is 64 bit
Does anyone know of a conditional to put into an if statement which executes if the OS is 64 bit, but does not execute otherwise, in installscript?
I haven't found anything yet.
I haven't found anything yet.
(2) Replies
‎Sep 28, 2010
06:35 AM
Your question is misleading. There is no Custom Action in a pure InstallScript project.
Anyway, the answers are:
Anyway, the answers are:
- In a pure InstallScript project: You can use SYSINFO.bIsWow64. If the installation is running on a 64-bit platform, this value is non-zero.
- In an MSI project, either Basic MSI or InstallScript MSI: you can use the property VersionNT64. If this property is set, then you are running a 64 bit OS.
‎Sep 28, 2010
12:32 PM
Custom actions can use installscript. That is what I meant. In MSI.