1

I use ArchitecturesAllowed to only allow installation on 64-bit systems.

When the host architecture is unsupported, the installer shows the following message:

This program can only be installed on version of Windows designed for the following processor architectures:

x64 (or x86)

The architecture unsupported error message

How can I show a custom message instead of this?

Community
  • 1
  • 1
Andrey Moiseev
  • 3,625
  • 7
  • 44
  • 64

1 Answers1

4

Just define a different message, in the Messages section (in the .isl or .iss):

[Messages]
OnlyOnTheseArchitectures=This program cannot work on your ancient machine. Sorry.

enter image description here


Or use your custom implementation for the check, including your own custom message. See Terminate setup on 32-bit Windows in Inno Setup.

Martin Prikryl
  • 167,268
  • 50
  • 405
  • 846