How to create Crystal Reports installer using Merge Modules

Crystal Reports utilizes merge modules to ensure accurate installation of report components and assemblies within your deployment project. A merge module comprises a collection of components that are merged with a Windows installer, specifically designed for applications requiring these components. The subsequent steps outline the process of creating a setup file for client-side installation of Crystal Reports, employing Merge Modules.

Before creating a setup project, make sure that the following files exist in the \Program Files\Common Files\Merge Modules folder.

  1. CrystalReportsRedist2005_x86.msm
  2. Microsoft_VC80_ATL_x86.msm
  3. policy_8_0_Microsoft_VC80_ATL_x86.msm

Steps to create Setup file

1) Make sure the above mentioned files are in the \Program Files\Common Files\Merge Modules folder , If the files are not there you can download the file and copy it to the folder \Program Files\Common Files\Merge Modules .

Download: https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11688

2) Open your Visual Studio

3) Select "New Project" from File menu.

crystal-reports-deploymet-1

4) Select "Setup and Deployment" from "Other Project Types"

5) In the "Solution Explorer", select your setup project, right-click, and select Add and Merge Module from the menu.

crystal-reports-deploymet-2

6) Select CrystalReportsRedist2005_x86.msm to your setup project.

The file available at \Program Files\Common Files\Merge Modules crystal-reports-deploymet-3

Then you can see Microsoft_VC80_ATL_x86.msm and policy_8_0_Microsoft_VC80_ATL_x86.msm will be automatically added in the Detected Depencies section.

7) Build your project.

Now you will get the setup file for distribution. Either you can add this setup file to you application installer or distribute it as a separate setup file.