To Set the ClickOnce Deployment Properties

You must have a completed Windows Application that uses Crystal Reports. For an example, see the Project Setup in Setting Up the Development Environment.

Before you deploy the Windows Application, you set properties for Security and Publish from the Application's Properties window.

  • The Security property sets the permissions for your application. By default, ClickOnce deployment has a limited subset of permissions. You can set the permissions to deploy only to client machines on the Intranet or Internet, or to allow full permissions.
  • The Publish property sets the deployment location to a Web Site URL, an FTP server, or a file path. Also, this property sets necessary prerequisites and updates to the deployed application.

To set the ClickOnce Deployment Options

  1. In the Solution Explorer, right-click the bold project name, and click Properties.

  2. Click on the Security tab.

  3. Select Enable ClickOnce Security Settings.

By default, the ClickOnce security permission is set to This is a full trust application.
  1. Click on the Publish tab, and then click Prerequisites.

  2. In the Prerequisites dialog box, under the Choose which prerequisites to install list, select the correct .Net Framework version and the correct Crystal Reports version. See below for more information.

> [!NOTE]
> <P>Encourage your clients to install the correct Crystal Reports version and the correct .NET Framework runtime before you deploy the Windows application. If you use ClickOnce Deployment to install these prerequisites, the installation time increases significantly.</P>
  1. Click OK.

  2. On the Publish tab, click Updates. From the Application Updates dialog box, ensure the following options are selected:

1.  Select The application should check for updates.
2.  In the Choose when the application should check for updates list, select Before the application starts.
  1. Click OK to close the dialog box.

  2. From the File menu, click Save All.

Crystal Reports Versions

Version

Name of Prerequisite to Install

Crystal Reports Basic for Visual Studio 2008

Crystal Reports Basic for Visual Studio 2008

Crystal Reports 2008

Crystal Reports 2008

Crystal Reports XIR2

Crystal Reports XI Release 2

Crystal Reports for Visual Studio 2005

Crystal Reports for .NET Framework 2.0