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

checking if the OS is 32-bit or 64-bit

Hello,

I am creating an installer for windows OS. The installer will work on both 32 and 64 bit version of wwindows server 2008 R2. I have to install some components only if OS is 64 bit.

Can somebody please tell me how to check this. I was using variable $prop.os.arch$ but this is not working. The value of the variable is x86 on both the platforms.


Thanks and regards
Atul
Labels (1)
0 Kudos
(2) Replies
avudaithangam
Level 5

add rule -> check system architecture
0 Kudos
SunnyBoy
Level 6

Windows server 2008 R2 is 64-bit operating system. Windows 2008 R2 does not come with 32-bit operating system.

If you would like to Check System Architecture use Check System Architecture Rule this allows developers to specify action or files to be run/installed only on specific system architecture (32-bit or 64-bit). The system architecture is normally determined by the Java virtual machine and reported to the installer, but in some cases may be specified in a registry action under Organization > Components.
0 Kudos