Use the search feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Alternatively, if you are unable to find a solution, we have an additional resource - our PTC eSupport Portal . If you are prompted to log into the eSupport Portal, you can use your My Kepware credentials. Need a My Kepware account? Create one here .

Search Solution Results By:
View All Solutions

Kepware Knowledge Base: Solution

Creating a Setup Project to Deploy ClientAce Applications in Licensed Mode

Last Update: 11/12/2018

Users must add the ClientAce .lic file to the setup project and then set the project dependencies so that a current .lic file will be generated everytime the setup project is built. For information on creating a Visual Studio setup project so that a ClientAce application will be deployed in Licensed Mode, refer to the instructions below.

Note: These steps only need to be completed once for each ClientAce project.

  1. To start, sign the ClientAce EXE project. Then, build it to generate a .lic file.
  2. Next, add the setup project to the Visual Studio solution that contains the EXE project. In the Solution Explorer, right-click on the solution and then click Add | New Project. Alternatively, select the solution or project in the Solution Explorer and then click File | Add... | New Project in the Visual Studio menu.
  3. In Add New Project, select Other Project Types | Setup and Deployment | Setup Project.
  4. In the Solution Explorer, right-click on the setup project and then select Add | Project Output.
  5. In Add Project Output Group, locate the Project field and then select the ClientAce EXE project.
  6. In the list box located in the middle of the dialog, ensure that at least "Primary output" is selected. Then, click OK.
  7. Next, right-click on the setup project and select Add | File.
  8. In Add Files, browse to the "bin\Release\" subfolder of the ClientAce EXE project (or other subfolder according to the build configuration that will be deployed). Then, select the .lic file.
  9. In the Project Explorer, right-click on the solution and select Project Dependencies.
  10. Next, locate the Dependencies tab and then select the setup project.
  11. In the list located in the middle of the dialog, check the ClientAce EXE project checkbox. Then, click OK.
  12. Next, right-click on the solution and select Configuration Manager. In the list located at the upper-left corner, select the configuration that will be built.
  13. Locate the setup project in the table in the middle of the dialog, and check the Build checkbox. Then, click OK.

    Note: When users build and deploy the setup project, the *.lic file will be included with the *.EXE. This will run the application in Licensed Mode.

Note: The instructions above have been tested with a Windows Application project in Visual Studio 2005. The steps should be the same or similar for other types of projects.

Related Products