Robot Takes Longer Time To Install Package In Every Execution

How to reduce the the longer package installation time ( more than 2 minutes) that Robot takes during each run?

Perform the below :

  1. Navigate to following path C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet\NuGet.Config and do the below changes
  • Comment out

<!-- <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> -->

  • Add

<add key="local" value=".\Packages" />

  1. Navigate to following path: %userprofile%\AppData\Roaming\NuGet\NuGet.Config and do the below changes
  • Comment out

<!-- <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> -->

  • Add

<add key="local" value=".\Packages" />

  1. Navigate to following path C:\Program Files (x86)\UiPath\Studio\NuGet.Config and comment the below lines

<!-- <add key="Official" value="https://www.myget.org/F/workflow/" /> -->

<!-- <add key="Community" value="https://gallery.uipath.com/api/v2" /> -->

  1. Restart the UiPath Robot service after making above changes
  2. Start the process and verify the outcome.

Also, the Online feeds can be disabled as shown below:
  1. During Installation
The UiPath Installer needs to be run with the following parameters:
ADDLOCAL=DesktopFeature,Robot,RegisterService,StartupLauncher NUGET_OPTIONS=DisableOnlineFeeds

Note: the URL feeds are not removed from configuration files but are not considered
  1. Manual
After a Robot has already been installed, HTTP feeds can be ignored by adding the following lines to UiPath.config:

<packageSettings>
<add key="skipHttpConfigurationSources" value="true" />
</packageSettings>

Here is before and after screenshots of the UiPath.config file
Before:

After:
This parameter helps to disable the online UiPath official and community feeds for the Robot. Thus only the Orchestrator and local feeds are taken into consideration.