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
- :
- How to detect 64-bit in InstallScript
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
Dec 01, 2009
08:28 AM
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?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 01, 2009
10:04 AM
I use the following:
if (SYSINFO.bIsWow64 != 0) then //OS is a 64-bit platform
MessageBox(@ERROR_UNSUPPORTED_OS,SEVERE);
abort;
endif;
if (SYSINFO.bIsWow64 != 0) then //OS is a 64-bit platform
MessageBox(@ERROR_UNSUPPORTED_OS,SEVERE);
abort;
endif;