UiPath Documentation
robot
2022.4
false
机器人用户指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

更新机器人

关于更新

在开始更新机器人之前,强烈建议您先检查兼容性矩阵

通常建议您先升级 Orchestrator,然后升级机器人。

重要提示:

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

Regardless of the version you want to update from, you need to take into consideration how the Robot was installed, in Service Mode or in User Mode.

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

您可以从 UiPath Automation Cloud 中的资源中心下载安装程序,也可以由客户成功经理或支持团队提供。如需试用,请转到 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.

备注:

请记住在更新 2018.3UiPath 平台时正确迁移流程。依赖项和活动安装算法已得到改进,当使用从本地订阅源安装的包执行流程时,这可能会导致冲突。如果您在更新时遇到任何问题,请在此页面上查看可行的解决方案。另外,请务必查看如何打开通过先前版本创建的项目

企业版

手动更新

关于 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

机器人部署转换

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

备注:

When converting the Robot from Service-Mode to User-Mode, the Robot might not be able to access the .xaml files from original NuGet Packages folder. For details on how to resolve this, please read this guide which offers more details on this specific scenario

备注:

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

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

自动更新

从 v2021.10 开始,管理员可以设置策略,以便通过 Orchestrator 自动更新 Studio、StudioX、Robot 和 Assistant。当策略触发自动更新过程时,UiPath 更新代理会显示“更新可用”通知,提示您开始更新。

  • 选择“立即更新”以执行更新。请注意,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 版及更高的社区预览版可以自动更新到最新社区预览版。

When a new version is available, an Update Available notification is displayed by the UiPath® Update Agent prompting you to start the update.

  • 选择“立即更新”以执行更新。请注意,Studio 和 Assistant 在更新过程中将关闭。
  • Select Skip to mute the notification. The update process can be resumed at any time in the 24 hours after the initial notification by clicking the UiPath® icon in the system tray and then clicking Check for updates. If not resumed by the user, the update is installed automatically after 24 hours.

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

  • 关于更新
  • 企业版
  • 手动更新
  • 自动更新
  • 社区版

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新