To Deploy Crystal Report Applications please follow the below instructions
1. Generate setup say “ProjSetup” using setup wizard.
2. Right click in ProjSetup, select add-> merge module. and open files listed below.
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
3. now right click on Crystal_regwiz2003.msm , click properties. in properties window, click on 'merge module properties', in Licenese key property set license code of crystal report. this code can be obtained from Help menu -> About microsoft development environment, here u find a licence code for 'Crystal reports for visual studio.net'. copy this code (that is some 20 char. code) and paste it in license key proparty.
4. thats it. now build setup by clicking on Build menu -> build ProjSetup
Note:
Crystal_Managed2003.msm The Crystal_Managed2003.msm merge module installs all the Crystal Reports for Visual Studio .NET managed components such as:
* CrystalDecisions.CrystalReports.Engine.dll
* CrystalDecisions.Web.dll
* CrystalDecisions.Windows.Forms.dll
Crystal_Database_Access2003.msm The Crystal_Database_Access2003.msm merge module installs all database drivers the report uses to connect to various types of data sources. This merge module also installs export destination and format drivers, which are used to save reports to different file formats such as RTF and HTML.
This merge module is also used to install all non-managed runtime components for Crystal Reports for Visual Studio .NET, including charting components.
Crystal_Database_Access2003_enu.msm The Crystal_Database_Access2003_enu.msm installs language-specific (localized) components. Some of the localized charting and exporting components are installed by this merge module. Each language the product is released in will have a specific version of this merge module.
Crystal_regwiz2003.msm Crystal_regwiz2003.msm configures registration information on deployed computers (server or client) in order to track licensing information.
When Crystal_regwiz2003.msm is added to a setup project, it exposes a LicenseKey property that must be set before building the setup project.
This key is also available from the About Microsoft Visual Studio .NET dialog box from the Help menu. Enter this license key into the LicenseKey property for the Crystal_regwiz2003.msm merge module.
Note If the license key is not set for the Crystal_regwiz2003.msm merge module, an error will occur when building the project. If the setup is installed on a target computer without specifying the license key for the merge module, various keycodedev2.dll errors will occur.