- 发行说明
- 入门指南
- 设置和配置
- 自动化项目
- 依赖项
- 工作流类型
- 文件比较
- 自动化最佳实践
- 源代码控件集成
- 调试
- 诊断工具
- 工作流分析器
- 变量
- 参数
- 导入的命名空间
- 控制流程
- 对象存储库
- 日志记录
- ScreenScrapeJavaSupport 工具
- Studio 测试
- 扩展程序
- 故障排除
UiPath Studio MSI 安装程序可用于安装 Studio、StudioX、Robot 和 Assistant。如果您的组织购买了 UiPath Platform,或者如果安装是作为 UiPath Platform 试用版的一部分,请使用 Enterprise Edition。如果您是社区用户,请使用安装程序的 Community Edition。
安装程序可以从 UiPath Customer Portal(即 UiPath Automation Cloud 中的资源中心)下载,也可以由您的客户成功经理提供。如需试用,请转到 https://cloud.uipath.com/portal_/register。
By default, a 64-bit version of the installer is available (UiPathStudio.msi). There is a single installer, but the file name differs depending on the type of deployment and license, with each file offering a different activation experience.
- 对于 Enterprise Edition,安装程序的命名方式如下:
UiPathStudio.msi- 购买内部部署 UiPath Platform 后获得。UiPathStudioCloud.msi- 购买 UiPath Automation Cloud 后获得。UiPathStudioOnPremTrial.msi- 作为内部部署 UiPath Platform 试用版的一部分获得。UiPathStudioCloudTrial.msi- 作为 UiPath Automation Cloud 试用版的一部分获得。
- 对于 Community Edition,安装程序名为
UiPathStudioCommunity.msi。
For information on updating from an older version, see Update Studio.
For instructions on installing from the command line, see Command Line Parameters.
关于快速自定义安装
您可以通过在安装向导中选择“快速”选项(不需要管理员权限),以默认配置为当前用户执行安装,也可以通过选择“自定义”选项来配置安装(每台计算机安装需要管理员权限)。
如果您使用的是 Microsoft Windows Server,则每用户安装可能无法成功完成。如果发生错误,提示已设置策略来阻止安装,若您是计算机的管理员,则可以执行以下任一操作:
- 打开注册表编辑器,然后在注册表键
HKLM\Software\Policies\Microsoft\Windows\Installer中配置策略DisableMSI = 0,为所有应用程序启用 Windows 安装程序。 - 通过使用“自定义”选项进行安装,以按照计算机执行安装。
有关快速安装和自定义安装之间区别和相似之处的更多信息,请参见下表。
| 快速入门 | 自定义 | |
|---|---|---|
| 安装上下文 | 按用户 | 按用户或计算机 |
|
支持的机器人安装类型 |
用户模式 |
|
|
安装所需的管理员权限 |
否 |
仅对于每台计算机安装是必需的。 |
|
安装目录 |
%LocalAppData%\Programs |
可以选择自定义位置。默认位置为:
|
|
使用社区版许可激活 |
支持 |
支持 |
|
使用企业版许可激活 |
支持 |
支持 |
|
需要管理员权限 用于连接到 Orchestrator |
否 |
仅服务模式机器人需要 |
|
使用交互式登录连接到 Orchestrator。 |
支持 |
支持 |
|
使用计算机密钥连接到 Orchestrator |
支持 |
支持 |
|
无人值守执行,无需用户登录 |
不支持 |
仅支持服务模式机器人 |
1 - 用户模式不适用于无人值守机器人安装。
2 - 对于服务模式机器人,您必须首先使用计算机密钥连接到 Orchestrator,然后才能使用交互式登录来更改连接到 Orchestrator 的用户。
执行安装
-
双击安装程序以启动安装向导。
-
阅读并接受许可协议。请注意,接受许可协议条款,即表示您默示接受 UiPath 活动包及其依赖项的使用条款。
-
选择要执行的安装类型:
-
快速 - 以默认配置安装 Studio,其中包括以下内容:
-
Studio、StudioX 和 Assistant
-
用户模式 Robot
-
StudioX Excel 加载项(如果您的计算机上安装了 Microsoft Excel)
-
Chrome 扩展程序(如果您的计算机上安装了 Google Chrome 浏览器)
-
Edge Chromium 扩展程序(如果计算机上已安装 Microsoft Edge Chromium)
-
JavaScript Robot 附加项
-
Microsoft 远程桌面扩展程序
安装路径 (
%localappdata%\Programs\UiPath) 和所有其他高级选项均已配置,以帮助您立即启动并运行 Studio。此安装程序不需要管理员权限,因为 Studio 是按用户安装的,并且仅拥有用户有的权限。选择此选项,然后单击“安装”以继续执行步骤 8,无需其他配置。建议社区版用户使用此选项。
-
-
自定义 - 选择要安装的组件,并配置高级安装设置。
选择此选项,然后单击“配置”以继续执行步骤 4。建议高级和企业用户使用此选项。
-
-
如果选择了自定义安装,请选择安装模式,然后选择“选择包”以继续。
-
“仅为我安装”- 在用户配置文件文件夹中安装,不需要管理员权限。
-
“为此计算机上的所有用户安装”- 为所有用户安装,访问更多集成和无人值守自动化,需要管理员权限。
-
-
选择安装包:
-
Automation Developer - 安装 UiPath Studio、Assistant 和 Robot 以创建和运行自动化。系统默认选中以下组件和选项:
- Studio、StudioX 和 Assistant
- 用户模式 Robot
- StudioX Excel 加载项(如果您的计算机上安装了 Microsoft Excel)
- Chrome 扩展程序(如果您的计算机上安装了 Google Chrome 浏览器)
- Edge Chromium 扩展程序(如果计算机上已安装 Microsoft Edge Chromium)
- JavaScript Robot 附加项
-
有人值守的机器人 - 安装 UiPath Assistant 和 Robot,用于运行有人值守的自动化程序。系统默认选中以下组件和选项:
- Assistant
- 用户模式 Robot
- 在 Windows 下自动启动 Assistant
- Chrome 扩展程序(如果您的计算机上安装了 Google Chrome 浏览器)
- Edge Chromium 扩展程序(如果计算机上已安装 Microsoft Edge Chromium)
- JavaScript Robot 附加项
-
无人值守机器人 - 安装 UiPath Robot 以(通过 Orchestrator)运行无人值守自动化程序,并安装 UiPath Assistant 进行故障排除。仅当您选择为计算机上的所有用户安装时,此选项才可用。
系统默认选中以下组件和选项:
-
Assistant
-
服务模式 Robot
-
Chrome 扩展程序(如果您的计算机上安装了 Google Chrome 浏览器)
-
Edge Chromium 扩展程序(如果计算机上已安装 Microsoft Edge Chromium)
-
-
-
要使用默认配置安装所选选件,请选择“安装”,然后继续执行步骤 8。要自定义安装,请选择所选选项旁边的“高级设置”,然后继续执行步骤 7。
-
如果您选择自定义安装,请配置以下高级设置,然后单击“安装”:
- “安装包”选项卡:
-
“安装路径”- 选择要安装 UiPath 的文件夹。为当前用户安装时,默认位置为 %LocalAppData%\Programs,为计算机上的所有用户安装时,默认位置为 %ProgramFiles%。
备注:For information about security considerations when selecting a custom installation path, see Deployment guidelines.
-
License Code - Optionally, enter your stand-alone trial or enterprise license key, if available. If you are installing as part of a trial of the on-premises UiPath Platform and do not enter a license code, you are prompted to provide it when you launch Studio for the first time. This option is available only when installing for all users on the machine.
-
Robot Installation Type - Select the Robot installation type: Service Mode (the recommended option for running unattended automations) or User Mode (the recommended option for creating and testing automations, and running attended automations). For more details, see Robot types in the Robot guide. This option is available for the Automation Developer and Attended Robot packages when installing for all users on the machine.
备注:To enable interactive sign-in, install the Robot in user mode. When the Robot is installed in service mode, you can connect to Orchestrator using the machine key.
-
Orchestrator Service URL - Allows you to define the URL of the Orchestrator instance to connect to using Interactive Sign-In. The provided URL is saved in the
uipath.configfile. This option is available only if you selected the User Mode installation type.- 客户端 ID 和客户端密码 - 此选项仅在将机器人安装为服务模式时可用。它允许您在安装时使用客户端 ID 和客户端密码将机器人连接到 Orchestrator。
-
使用 Windows 自动启动 Assistant - 在 Windows 启动时启动 Assistant。为计算机上的所有用户安装 Automation Developer 和有人值守的机器人包时,此选项均可用。
-
Automatically sign in - When your environment is configured to use SSO with Azure Active Directory, you can enable automatic authentication for your account. This option is available for user-mode installations of the Automation Developer and Attended Robot packages.
-
- “扩展程序”选项卡:
-
Select which extensions and add-ons you want to install: Excel Add-in, extension for Java, extension for Chrome, extension for Edge Chromium, extension for Firefox, JavaScript Robot Add-on, extension for Citrix, extension for VMware, extension for Microsoft Remote Desktop, or SAP Solution Manager plugin.
如果您的计算机上安装了 Chrome 或 Edge Chromium,则默认选择相应的扩展程序。
JavaScript 机器人加载项在为计算机上的所有用户安装时可用,并且默认情况下 Automation Developer 和有人值守的机器人包会选择此选项。
如果计算机上安装了 SAP Connector for Microsoft,则 SAP 解决方案管理器只有在计算机上为所有用户安装时才可用。如果选择此选项,请在“主机”框中输入 SAP 解决方案管理器实例中的主机名或 IP 地址。
Excel 加载项仅适用于 Automation Developer 包,如果您的计算机上安装了 Excel,则默认情况下此选项处于选中状态。
仅当计算机上的所有用户都安装时,Java、Citrix 和 VMWare 的扩展程序才可用。
-
默认下载位置 - 输入活动包的自定义下载位置。系统会将其默认保存至
%userprofile%\.nuget\packages。仅当为计算机上的所有用户安装时,此选项才可用。 -
Disable Online Feeds - Select whether to disable the Official and Marketplace online feeds for activities packages. This option is not selected by default and it is recommended if you are working in an offline environment..
-
- “安全”选项卡
-
强制执行已签名项 - 要求 Robot 仅执行已签名的程序包。默认情况下未选中此选项。
-
禁用 XAML 安全保护 - 为作为 Windows 服务安装的 Robot 禁用 XAML 文件安全保护。无安全保护的 XAML 文件允许用户读取和修改进程文件和逻辑。默认情况下未选中此选项。
-
禁用遥测 - 禁止收集 Studio 和 Robot 的匿名使用情况数据。默认情况下未选中此选项。
-
- “安装包”选项卡:
-
After clicking Install, wait for the installation to complete, and then click Launch UiPath Studio. For information on how to activate Studio, see Activating Studio.
以下是安装选项的概述:
| 安装上下文 | 高级配置 | 包 | 机器人类型 | 安装类型 |
|---|---|---|---|---|
| 快速入门 | 不适用 | 不适用 | 用户模式 Robot | 按用户安装 |
| 自定义 | 仅为我安装 | Automation Developer | 用户模式 Robot | 按用户安装 |
| 有人值守的机器人 | 用户模式 Robot | 按用户安装 | ||
| 为此计算机上的所有用户安装 | Automation Developer | 用户模式 Robot | 按计算机安装 | |
| 有人值守的机器人 | 用户模式 Robot | 按计算机安装 | ||
| 无人值守的机器人 | 服务模式 Robot | 按计算机安装 |
在多台计算机上大规模部署 Studio 和机器人
您可以使用各种大规模部署工具将 Studio、机器人和 UiPath Assistant 部署到多个虚拟机或物理计算机。要遵循的步骤视组织所用的基础架构和部署工具而异。部署之前,需要考虑一些一般原则,例如确保目标计算机满足以下条件:
- Meet the hardware and software requirements.
- 在同一操作系统上运行。
- 属于同一网络组。
- 有权访问用于推送安装的资源。
可用于大规模部署的选项包括:
-
通过高可用性网络存储重新分发安装程序。
-
Deploy through System Center Configuration Manager (SCCM).
使用 SCCM 时,请注意以下事项:
- 安装的版本必须与公布的版本相符。
- The installation must be performed from the command line in silent mode.
-
通过组策略部署。
-
通过远程桌面服务部署。
-
通过第三方解决方案(例如 PDQ Deploy)进行部署。
-
通过 Citrix DaaS 进行部署。