Pascal Scripting: Is64BitInstallMode

Inno Setup

Pascal Scripting: Is64BitInstallMode

Prototype:

function Is64BitInstallMode: Boolean;

Description:

Returns True if Setup or Uninstall is running in 64-bit mode, or False if it is running in 32-bit mode.

Remarks:

When True is returned, it is safe to assume that IsWin64 will also return True.

Example:
begin
  if Is64BitInstallMode then
    MsgBox('Installing in 64-bit mode', mbInformation, MB_OK)
  else
    MsgBox('Installing in 32-bit mode', mbInformation, MB_OK);
end;
See also:

IsWin64 ProcessorArchitecture