robot
2024.10
true
Admin Guide
Last updated 21 oct. 2024

Configurer des dossiers de package et des chemins d’accès réseau

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.
    Important :
    • If the environment variable does not exist, the robot tries to read the NuGet packages fallback folders from the Nuget.config file.
    • Les processus déployés dans des dossiers de secours ne sont pas pris en charge, mais uniquement les dépendances.

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. Enregistrez les modifications et, si le robot est installé en tant que service, redémarrez le service.
    Remarque :

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

Par exemple :

<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

Mode de service

Chemin d’accès local

No restrictions

Chemin réseau

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

Mode utilisateur

Chemin d’accès local

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

Chemin réseau

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>

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo White
Confiance et sécurité
© 2005-2024 UiPath Tous droits réservés.