Pārlūkot izejas kodu

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 gadu atpakaļ
vecāks
revīzija
b02b2a2406
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Projects/Src/Main.pas

+ 1 - 1
Projects/Src/Main.pas

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