使用脚本在 Microsoft Windows Server 上更新 Automation 360
- Updated: 2025/02/27
使用脚本在 Microsoft Windows Server 上更新 Automation 360
您可以使用带有参数的自定义脚本来更新 Automation 360,以维持现有用户配置。
先决条件
要执行此任务,您必须拥有具有所需权限和许可的 Control Room 管理员账户。
- 验证 Automation 360 On-Premises 先决条件。
- 确保您具备以下条件:
-
Control Room 安装文件
从 A-People Downloads page (Login required) 下载 Automation360_el7_Build_<build_number>.bin 安装文件。
- TLS 证书
- 许可证文件
-
Control Room 安装文件
示例 config.properties 文件: 作为参考,您可以在页面末尾找到一个示例 config.properties 文件。
注: 要获取有关单独执行 Automation 360 的静默安装和配置的说明,请参阅 Silent installation and configuration of Automation 360 using scripts (A-People login required)。
注: 在 Microsoft Windows Server 上安装 Control Room 时使用的各种参数适用于在 Microsoft Windows Server 上更新 Automation 360。 有关更多信息,请参阅 使用脚本在 Microsoft Windows Server 上安装 Control Room。
创建并运行 PowerShell 脚本以更新 Automation 360。
过程
示例 config.properties 文件
# Properties utilized across all Scenarios
# Default/Express Mode Params
baseLoggingDirectory=C:\script\logs\
baseInstallerDirectory=C:\script\
installerName=Automation360.exe
注: 查看示例 config.properties 文件中的以下属性:
- baseLoggingDirectory - 所有配置日志的目录。
- baseInstallerDirectory - 是安装目录。 例如,C:\\Users\\prod\\Downloads\\Automation360\\Automation360.exe.
- installerName - 安装程序的名称。