Browse Source

Stop using OnlyOnTheseArchitectures message.

With arbitrarily-complex Boolean expressions and pseudo-architecture identifiers, it's no longer possible to generate a list of architectures that are supported. Not to mention, some of the new identifiers include English words like "compatible" which would need to be localized.

Just use WindowsVersionNotSupported instead. End users should rely on their vendor to specify what architectures are supported, just like they already have to specify what Windows versions are supported because Setup doesn't say.
Jordan Russell 1 year ago
parent
commit
b02b2a2406
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Projects/Src/Main.pas

+ 1 - 1
Projects/Src/Main.pas

@@ -3225,7 +3225,7 @@ begin
   { Check processor architecture }
   { Check processor architecture }
   if (SetupHeader.ArchitecturesAllowed <> '') and
   if (SetupHeader.ArchitecturesAllowed <> '') and
      not EvalExpression(SetupHeader.ArchitecturesAllowed, TDummyClass.EvalArchitectureIdentifier) then
      not EvalExpression(SetupHeader.ArchitecturesAllowed, TDummyClass.EvalArchitectureIdentifier) then
-    AbortInitFmt1(msgOnlyOnTheseArchitectures, SetupHeader.ArchitecturesAllowed);
+    AbortInit(msgWindowsVersionNotSupported);
 
 
   { Check Windows version }
   { Check Windows version }
   case InstallOnThisVersion(SetupHeader.MinVersion, SetupHeader.OnlyBelowVersion) of
   case InstallOnThisVersion(SetupHeader.MinVersion, SetupHeader.OnlyBelowVersion) of