Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Installing separate components on 32bit vs 64bit

1 reply to this topic


  • Full Members
  • 1 posts

Posted 28 May 2009 - 20:23

I am using InstallShield Professional version 7.01.

I need to install separate files on 32-bit vs 64-bit machines.

How can I distinguish 32-bit vs 64-bit in InstallShield Professional version 7.01?

The 2 methods I tried did not work.

if (SYSINFO.bIsWow64 = TRUE) then
copy the 32 bit version
copy the 64 bit version

Get error message - error C8045: 'bIsWow64' : member name not found

GetSystemInfo( ISTYPE, nvResult, svResult );
if (nvResult = 64) then
copy the 64 bit version
copy the 32 bit version

Result - nvResult returns 32 on a 64-bit machine.


Edited by nesh19, 28 May 2009 - 20:26.

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 29 May 2009 - 08:09

There's no 64 bit support in InstallShield Professional 7 (it's 7 years old!). If I recall correctly, GetSystemInfo( ISTYPE, ...) is to distinguish between 16 and 32 bit.
Mybe you can call some Windows API or read a registry entry to detect 64 bit. Or upgrade to a newer version of InstallShield.