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

How to detect 64-bit in InstallScript

What's the easiest/most reliable way to detect you are running on a 64-bit OS from InstallScript, is there a function i can call or do i need to go look around in the registry?
Labels (1)
0 Kudos
(1) Reply
geedunn
Level 3

I use the following:

if (SYSINFO.bIsWow64 != 0) then //OS is a 64-bit platform
MessageBox(@ERROR_UNSUPPORTED_OS,SEVERE);
abort;
endif;
0 Kudos