使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


Creating a Setup Project to Deploy ClientAce Applications in Licensed Mode


Last Update: 2018/11/12

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
ClientAce