robot
2024.10
true
Admin Guide
Last updated 21. Okt. 2024

Einrichten von Paketordnern und Netzwerkpfaden

Setting up a fallback package folder

To set up a fallback package folder:

  1. Add the NUGET_FALLBACK_PACKAGES variable to your system environment.
  2. For the variable, add the list of the absolute paths for the folder, separated by semicolons.
    Wichtig:
    • If the environment variable does not exist, the robot tries to read the NuGet packages fallback folders from the Nuget.config file.
    • Prozesse, die in Fallback-Ordnern bereitgestellt werden, werden nicht unterstützt, nur Abhängigkeiten.

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. Speichern Sie die Änderungen und, wenn der Roboter als Dienst installiert ist, starten Sie den Dienst neu.
    Hinweis:

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

Zum Beispiel:

<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

Dienstmodus

Lokaler Pfad

No restrictions

Netzwerkpfad

  • 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.

Benutzermodus

Lokaler Pfad

  • 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.

Netzwerkpfad

The path must include the machine name and username.

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

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White
Vertrauen und Sicherheit
© 2005–2024 UiPath. Alle Rechte vorbehalten