Deployment of a PC SDK application
Introduction
When your application is ready it has to be deployed to the customer’s PC. This chapter gives information about the facilities for deployment included in the PC SDK installation.
Note
PC SDK does not need to be installed on the PC that will host your application.
Facilities for deployment
To build a PC SDK stand-alone executable (not a RobotStudio Add-In), and to deploy it to the target PC, certain dependencies must be deployed in the target PC. The following files located in the installation directory must be used for the deployment of a PC SDK application.
PC SDK runtime assemblies (see below)
ABB Robot Communication Runtime.exeor the corresponding merge modules (see below)
If your application was built with a certain version of PC SDK, the exact same version of this assembly must be deployed in the target PC. It is a requirement of the .NET Common Language Runtime that the exact same version of the referenced assemblies, as your application was built with, are available on the target computer.
Previous versions of the PC SDK assemblies can be downloaded from Developer Center.
PC SDK assemblies
The following assemblies must be installed in the application directory:
ABB.Robotics.Controllers.PC.dllRobotStudio.Services.RobAPI.dllRobotStudio.Services.RobAPI.Desktop.dll
These files are located in the installation directory under the folder net48 or net10.0, depending on your target framework.
Robot Communication Runtime
To connect a PC SDK application to a controller either RobotStudio or Robot Communication Runtime is required. If RobotStudio is not installed on the PC that hosts your application, Robot Communication Runtime needs to be included in your installation. There are two options to install the runtime on the target machine:
- Execute
ABB Robot Communication Runtime.exeas a separate installation.
or
- Include the merge modules
ABBRobAPI.msm,ABBRobAPICommon.msm,ABBRobInstallAPI.msm,ABBRobInstallAPICommon.msmin your installer.
Creating a single installer for PC SDK application
InstallShield Limited Edition is a freeware that can be used to package the Robot Communication Runtime redistributable installer into your own PC SDK application installer. Microsoft Visual Studio includes a project template for InstallShield Limited Edition.
Create a new InstallShield project.
- In Microsoft Visual Studio, on the File menu, point to New, and then click Project.
- Expand the Other Project Types node.
- Expand the Setup and Deployment node.
- Click InstallShield Limited Edition.
- Click Enable InstallShield Limited Edition, and then click OK.
- Click Go to InstallShield.
Note
You must register by using your email address before downloading the product. After you register the InstallShield Add-In, you must return to the following New Project dialog and create a new project again.

Start the Project Assistant and type in the required information as specified.

Click the Add files button to add your application, PCSDK Test Application that must be installed by the installer. Also add the PC SDK redistributables from InstallationDirectory\Redistributable.

Create a new Custom Action.

A Custom Action is a construct that allows you to provide additional privileges at various phases in the installer’s life cycle. For example, it allows you to check whether a program is not running before the installer starts or you can execute some program after uninstalling and so on.
In the current scenario, the Robot Communication Runtime is started after installing the actual PC SDK application.Enter the following properties for creating a new custom action.

Build the installation project and create the setup.exe file.

An installer for your PC SDK application is now available.