RobotStudio event

How to enable add-ins downloaded from the Internet


Due to a security limitation in Windows, add-ins downloaded from the Internet (e.g. the forum or RobotApps) are blocked by Windows. RobotStudio will show a FileLoadException in this case.

There are two solutions to this problem

1. Unblock the .dll using Windows Explorer


Right-click the .dll in Windows Explorer --> Properties --> Unblock --> Apply.

The change is specific to the download dll. The operation must be carried out for all downloaded .dlls

2. Modify the app config file

For a general solution that will allow any downloaded dll to work directly without proceeding as above, you can add the following lines to the file RobotStudio.exe.config:

File RobotStudio.app.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
  <runtime>                                 <!-- THIS IS ONE OF THE NEW LINES!!! -->

    <loadFromRemoteSources enabled="true"/> <!-- THIS IS ONE OF THE NEW LINES!!! --> 
  </runtime>                               
<!-- THIS IS ONE OF THE NEW LINES!!! -->
...


On a PC with a default installation of Windows 7 - 64 bit, the files are located in the folders

C:Program Files (x86)ABB Industrial ITRobotics ITRobotStudio 5.15Bin
C:Program Files (x86)ABB Industrial ITRobotics ITRobotStudio 5.15Bin64

Note There are separate files for the 32 and the 64 bit versions of RobotStudio

Windows security settings may prevent the
file from being directly edited in the default location. Copy the file to your
local Documents folder to edit it. Upon completion, you need to manual copy the
file back to its original location.

For detailed information, see http://go.microsoft.com/fwlink/?LinkID=155569

Note: After upgrade, or re-installation of RobotStudio, the file will revert to the default.



Henrik Berlin2012-10-30 09:00:03
Henrik Berlin
ABB

Comments