订阅

UiPath Installation and Upgrade

UiPath 安装和升级指南

更新机器人

关于更新

Before you proceed with updating the Robot, we highly recommend checking out the compatibility matrix.

It is usually recommended to first upgrade your Orchestrator and then your Robots.

🚧

重要提示:

更新 Orchestrator 后,必须将机器人重新连接到 Orchestrator,以便其应用新设置。

无论您想从哪个版本开始更新,均需考虑机器人的安装方式(以服务模式用户模式安装)。

一般来说,我们建议您使用相同版本的 Robot、Studio 和 Orchestrator,以便使用所有最新功能。Studio 和 Robot 的版本必须相同。您始终可以通过 Assistant 或在 Orchestrator 中查看 Robot 版本。

The installer can be downloaded from the Resource Center in UiPath Automation Cloud or provided by your customer success manager or the support team. To request a trial, go to https://cloud.uipath.com/portal_/register.

📘

备注:

如果某台计算机上同时装有 Studio 和 Robot,则无论 Robot 是以服务模式还是用户模式安装,您均需同时升级二者。

To update the Robot, run the UiPathStudio.msi installer using the installation wizard or from the command line. UiPathPlatformInstaller.exe is no longer available starting with version 2021.4.

📘

重要提示:

Remember to properly migrate your processes when updating the 2018.3 UiPath Platform. The dependencies and activities installation algorithm has improved, which can cause conflicts when executing processes with packages installed from local feeds. If you encounter any issues while updating, check out possible solutions on this page. Also, remember to check out how to Open Projects Created with Previous Versions.

企业版

手动更新

关于 32 位和 64 位版本

在版本 2021.4 之前,Studio 和 Robot 作为 32 位应用程序提供。从版本 2021.4 开始,默认情况下可使用 64 位安装程序。同时,32 位版本也可用,且只能安装在 32 位操作系统上。

如下所示,更新现有的 UiPathStudio.msiUiPathPlatformInstaller.exe 企业版:

  • 使用 64 位版本的安装程序 (UiPathStudio.msi) 更新 64 位操作系统上的现有 32 位和 64 位安装。
  • 使用 32 位版本的安装程序 (UiPathStudio-x86.msi) 更新 32 位操作系统上的现有安装。

在使用 64 位安装程序更新后,使用默认安装路径(C:\Program Files (x86)\UiPath\Studio)的 64 位操作系统上的现有 32 位安装程序将迁移到 C:\Program Files\UiPath\Studio。如果较旧版本安装在自定义位置中,则更新不会更改安装路径。

服务模式机器人

如要更新之前在服务模式下安装的 Robot,请运行 UiPathStudio.msi,安装向导会自动替换所有旧文件,无需您修改任何设置。

务必谨记,在升级机器人时,C:\Program Files\UiPath\Studio\Packages 文件夹中会累积活动包。详情请参阅管理依赖项

若要通过命令行更新服务模式 Robot,请使用以下命令:UiPathStudio.msi ADDLOCAL=DesktopFeature,Robot,RegisterService

用户模式机器人

如要更新之前在用户模式下安装的 Robot,请运行 UiPathStudio.msi,安装向导会自动替换所有旧文件,无需您修改任何设置。

若要通过命令行更新用户模式机器人,请使用以下命令:UiPathStudio.msi ADDLOCAL=DesktopFeature,Robot

机器人部署转换

更新机器人时,您还可将其从服务模式转换为用户模式(反之亦然)。

📘

备注:

将机器人从服务模式转换为用户模式时,机器人可能无法访问原始 NuGet 包文件夹中的 .xaml 文件。如需详细了解如何解决此问题,请阅读本指南,该指南提供了此特定场景的更多详细信息

📘

备注:

更新配置变量时,必须重新启动机器人以使更改生效。但是,在 Orchestrator 中更新以下设置时,则无需重新启动:

  • 运行未连接时间
  • SignalR 设置(包括开/关)
  • HeartbeatPeriodSeconds
  • NuGet 订阅源

自动更新

Starting with v2021.10, administrators can set up policies for automatically updating Studio, StudioX, Robot, and Assistant from Orchestrator. When a policy triggers the automatic update process, an Update Available notification is displayed by the UiPath Update Agent prompting you to start the update.

  • 选择“立即更新”以执行更新。请注意,Studio 和 Assistant 在更新过程中将关闭。
  • 选择“跳过”以使通知静音。单击系统托盘中的 UiPath 图标,然后单击“检查更新”,可以在收到初始通知后的 24 小时内的任何时间继续更新过程。如果用户未继续,则系统会在 24 小时后自动安装更新。

📘

注意:

  • 在更新过程中,在更新完成之前,机器人不会启动任何作业。
  • 如果计算机上有任何流程正在运行,系统会提示用户选择要停止该流程,还是等待流程完成再继续更新。
  • 如果 Studio 会话已打开,则系统会提示用户保存进度。 如果用户未响应,则 Studio 将关闭,此时流程将保持原样,并且可以在更新完成后恢复,而机器人会等待任何流程完成,然后再开始更新过程。

社区版

如果您使用 Community Edition 安装程序安装 Studio 和 Robot,并使用社区版许可证激活,则当选定渠道上有可用的新版本(“稳定”或“预览”)时,Studio 和 Robot 会自动更新。

If you installed Studio and Robot using the Community Edition installer and activated it with an Enterprise license, Studio and Robot are automatically updated to the latest Stable release, regardless of the update channel you selected.

📘

备注:

只有运行 2021.8 版及更高的社区预览版可以自动更新到最新社区预览版。

当有新版本可用时,UiPath 更新代理会显示“更新可用”通知,提示您开始更新。

  • 选择“立即更新”以执行更新。请注意,Studio 和 Assistant 在更新过程中将关闭。
  • 选择“跳过”以使通知静音。单击系统托盘中的 UiPath 图标,然后单击“检查更新”,可以在收到初始通知后的 24 小时内的任何时间继续更新过程。如果用户未继续,则系统会在 24 小时后自动安装更新。

请注意,如果在 Community Edition 自动更新运行时关闭 Studio,则 Robot 将丢失与 Orchestrator 的连接。在获得许可的安装中不会重现此问题。

10 个月前更新


更新机器人


建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。