Glossary Item Box

Samples | Walkthroughs

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Walkthrough: Deploying Compiled Reports

With ActiveReports, compiled reports can be set up for deployment by including the ActiveReports deployment .msm file in your Visual Studio deployment project.

This walkthrough illustrates how to create a deployment project in ActiveReports for a compiled report.

This walkthrough is split up into the following activities:

Adding an installer project to an existing ActiveReports project

To add the installer project

  1. Open an existing ActiveReports project or create a new report.
  2. On the Build menu, click "Build [your ActiveReports project name]" to build your report project.
  3. On the File menu, select Add Project and click on New Project...
  4. Under Project Types in the Add New Project dialog, select Setup and Deployment Projects.
  5. In the Templates window, select Setup Project, rename the file and click OK.
  6. Select the Installer project in Solution Explorer. In the Properties window, select the ProductName property and type in the name of your file.
    Note   The ProductName property determines the name that will be displayed for the application in folder names and in the Add/Remove Programs dialog box.

Adding the ActiveReports .msm file

To add the ActiveReports .msm file

  1. Right-click on the Installer project in Solution Explorer.
  2. Click on Add and then click Merge Module...
  3. Open the Deployment folder where ActiveReports is installed (e.g. c:\\program files\Data Dynamics\ActiveReports for .NET 2.0\Deployment).
  4. Click on "ActiveReportsDistrib.msm" to select it and click Open.
  5. This adds all of the ActiveReports distributed assemblies to your project.
Note   Since the Setup and Deployment project will automatically detect and add any existing assembly dependencies to your project and the .msm file adds all ActiveReports assemblies, you will need to exclude any duplicate ActiveReports DLLs from the "Detected Dependencies" folder in the Solution Explorer window.

Adding the ActiveReports application to the installer

To add the ActiveReports application

  1. Select the Installer project in Solution Explorer.
  2. In the File System Editor, choose the Application folder.
  3. On the Action menu, select Add, Project Output...
  4. In the Add Project Output Group dialog, choose your ActiveReports project name from the drop-down list.
  5. Select "Primary Output" from the list and click OK.
  6. On the Build menu, click "Build [your Installer project name]" to build your Installer project.

Deploying the installer application

To deploy the installer application

  1. Select the Installer project in Solution Explorer.
  2. On the Project menu, click Install.
  3. The Installer application will run and install the project on your computer.

Samples | Walkthroughs

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.