浏览代码

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 年之前
父节点
当前提交
b02b2a2406
共有 1 个文件被更改,包括 1 次插入1 次删除
  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