robot
2024.10
true
UiPath logo, featuring letters U and I in white

Robot admin guide

上次更新日期 2024年12月18日

设置包文件夹和网络路径

Setting up a fallback package folder

To set up a fallback package folder:

  1. Add the NUGET_FALLBACK_PACKAGES variable to your system environment variables.
  2. For the variable, add the list of the absolute paths for the folder, separated by semicolons.
    重要提示:
    • If the environment variable does not exist, the robot tries to read the NuGet packages fallback folders from the Nuget.config file.
    • 不支持部署在回退文件夹中的流程,仅支持依赖项。

Changing the download path for packages

The default download path for packages is %userProfile%\.nuget\packages.
To change the package download location, you can either edit the UiPath.config file, or use the PACKAGES_FOLDER="new/download/path" parameter via the command line when installing Studio or Robot.
To edit the UiPath.config file, follow these steps:
  1. Open the configuration file. You can find it in the C:\Program Files\UiPath\Studio folder.
  2. In the packageSettings section, add a new entry called packagesInstallationFolder. Then, set its value as the path of the new download folder.
  3. 保存更改,如果将机器人作为服务安装,请重新启动服务。
    备注:

    When changing the download folder, make sure that all users that need to run automations can access it.

例如:

<packageSettings>
  <add key="packagesInstallationFolder" value="C:\Nuget" />
</packageSettings><packageSettings>
  <add key="packagesInstallationFolder" value="C:\Nuget" />
</packageSettings>

Setting up local and network paths

You can set a local or network path to enable several robots to use the same path. The setup depends on the robot operational mode: Service Mode or User Mode.

On Windows Server machines that allow concurrent executions on High-Density Robots, you need to set up unique paths for each user. Using the same shared folder for all users in High-Density environments is supported with some limitations:

Robot mode

Path type

Considerations for multiple robots using the same path

服务模式

本地路径

No restrictions

网络路径

  • Not supported when Secure XAML is used.

  • Service mode robot installed on separate machines must have its own folder on the network.

  • Mapped network paths, such as Z:\Packages, are not supported. Use non-mapped path, such as \\server\Packages.

用户模式

本地路径

  • You must add the NUGET_SCRATCH environment variable on the robot machine, and provide it with a value other than the NuGet installation one. This sets a different path for storing temporary NuGet files, to prevent potential conflicts when multiple robots attempt to use NuGet simultaneously.
  • The new temporary folder should be exclusive for the NUGET_SCRATCH variable.
  • The user accounts under which robots run must have read and write access to both NuGet folders on the machine.

网络路径

The path must include the machine name and username.

<packageSettings>
  <add key="packagesInstallationFolder" value="\\NetworkServer\SharedFolder\UiPath\Packages\%username%\%computername%\" />
</packageSettings><packageSettings>
  <add key="packagesInstallationFolder" value="\\NetworkServer\SharedFolder\UiPath\Packages\%username%\%computername%\" />
</packageSettings>

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。