Powershell 静默/无人值守安装 Delphi Tokyo 10.2 - CI 在 win docker 容器中使用

Powershell silent / unattended install of Delphi Tokyo 10.2 - for CI use in win docker container

我正在尝试创建一个 powershell 命令,静默安装 Delphi Tokyo 10.2 - 用作 Windows Docker 容器中的自动编译器。我无法找到任何关于如何使用正确的安装程序命令/开关实现 unattended/silent 安装的最新文档。

我能够确定 Tokyo 和 Rio 安装程序使用 Inno Setup - 并且应该提供 Inno Setup 安装程序 commands/switches

来自东京安装程序关于页面:

https://photos.app.goo.gl/88jY7PF2mPAipwEA9

这是我到目前为止搞砸的命令:

.\radstudio10_2_3_esd__93231.exe /sp- /verysilent /suppressmsgboxes /norestart/ /log="c:\somelocation\install.log"

但是我无法让安装过程通过第一页或 EULA 复选框。失败的静默安装日志显示:

Log opened. (Time zone: UTC-05:00)
Setup version: Inno Setup version 5.5.6 (u)
Original Setup EXE: C:\somelocation\radstudio10_2_3_esd__93231.exe
Setup command line: /SL5="051C,138809719,642048,C:\somelocation\radstudio10_2_3_esd__93231.exe" /sp- /verysilent /suppressmsgboxes /norestart/ /log=c:\somelocation\install.log
Windows version: 10.0.18363  (NT platform: Yes)
64-bit Windows: Yes
Processor architecture: x64
User privileges: Administrative
64-bit install mode: No
Created temporary directory: C:\Users\username\AppData\Local\Temp\is-1QQ8P.tmp
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-1QQ8P.tmp\innocallback.dll
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-1QQ8P.tmp\UnlockFirewall.dll
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-1QQ8P.tmp\mOasisRuntime.dll
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-1QQ8P.tmp\topbanner96.bmp
Failed to proceed to next wizard page; aborting.
Got EAbort exception.
Deinitializing Setup.
Log closed.

以下是同一安装程序包的非静默安装的部分日志:

Log opened. (Time zone: UTC-05:00)
Setup version: Inno Setup version 5.5.6 (u)
Original Setup EXE: C:\somelocation\radstudio10_2_3_esd__93231.exe
Setup command line: /SL5="5F0,138809719,642048,C:\somelocation\radstudio10_2_3_esd__93231.exe" /log=c:\somelocation\install.log /saveinf=c:\somelocation\install.inf
Windows version: 10.0.18363  (NT platform: Yes)
64-bit Windows: Yes
Processor architecture: x64
User privileges: Administrative
264-bit install mode: No
Created temporary directory: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\innocallback.dll
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\UnlockFirewall.dll
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\mOasisRuntime.dll
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\topbanner96.bmp
Message box (OK):
Inno Setup version 5.5.6 (u)
Copyright © 1997-2015 Jordan Russell
Portions Copyright © 2000-2015 Martijn Laan
All rights reserved.

Inno Setup home page:
http://www.innosetup.com/

RemObjects Pascal Script home page:
http://www.remobjects.com/ps
User chose OK.
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\ProductCodes.ini
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\ProductCodes.ini
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\ProductCodes.ini
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\ProductCodes.ini
Extracting temporary file: C:\Users\username\AppData\Local\Temp\is-K4M7F.tmp\ProductCodes.ini
Starting the installation process.
Creating directory: C:\Program Files (x86)\Embarcadero
Creating directory: C:\Program Files (x86)\Embarcadero\Studio
Creating directory: C:\Program Files (x86)\Embarcadero\Studio.0
Directory for uninstall files: C:\Program Files (x86)\Embarcadero\Studio.0\
...
...
...

所以在上面成功的非静默安装中 - 请注意日志中的行 Message box (OK) 这是在我接受 EULA 之后发生的。所以目前我不确定如何通过安装程序开关来静默满足 EULA 页面。

有没有人成功地创建了 Delphi 东京或里约热内卢的静默/无人值守安装?或者找到了帮助他们实现类似目标的文档?

非常感谢任何帮助!

亲切的问候,

对于 Delphi 2007Delphi XE2,我们可以使用 setup.exe /s 进行静默安装,请参阅 https://delphisorcery.blogspot.com/2011/07/unattended-delphi-installation-how.html 以供参考。

但这不再适用于 Delphi 10.2 Tokyo。因此,我们的 IT 部门 直接致电 Embarcadero 以获取有关如何进行静默安装的更多信息。但不幸的是,他们告诉我们,安装过程无法静默完成