Robot Takes Time to Install Package

Know more when a Robot is triggered,it takes time (3-5 min or more) to install Package before starts executing?

Please follow below steps to change the configuration :


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

     Comment

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

      and add

      <add key=“local” value=“.\Packages” />
Note: Administrative access is required to make this suggested change.


2.  Add below attribute in the following files UiPath.Service.Host.exe.config, UiPath.Executor.exe.config, UiRobot.exe.config, UiPath.Agent.exe.config [These files can be found in Robot installed location- C:/Program Files X86/ UiPath]

<configuration>

  <runtime>

    <generatePublisherEvidence enabled=“false”/> 

  </runtime>

</configuration>


3. 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” /> –>


4. Restart the UiPath Robot service after making above changes 


5. Start the process and check the outcome

Refer this: Long installation time of package