how I get if windows is x64 or 32 bit to set a condition
how I get if windows is x64 or 32 bit
My purpose is set a condition for a component to install depending if 32 or 64
Answer Chosen by the Author
This is all overly complex if it is just a condition that is being set.
The predefined property VersionNT is true for any version of NT
The predefined property VersionNT64 is true for any version of 64 bit NT
Since I would assume there are no machines running any version of windows not based on NT, you can just use VersionNT64 as the condition for anything that needs to be "True" for a 64 bit operating system and "False" for a 32 bit operating system.
Alternatively: NOT VersionNT64 for any condition that needs to be "False" for a 64 bit operating system, or "True" for a 32 bit operating system.
Answered 07/03/2015 by: EdT
Please log in to comment
log in to commentPlease