This article going to demonstrate to you all, how to create Deployment Package with Crystal Report using Visual Studio 2005.Let's start , we have a visual studio 2005 windows application with crystal report and wish to deploy to customer machine. There are some basic files that needed to deploy to a normal xp home machine:
Here we will discuss how to create crystal reports merge module setup for deployment purposes.
Below are the steps
1.Generate a setup using setup wizard (either create a new project or add a new project to existing project), name it setup1.
2.Right click in Setup1, select Add-> Merge Module. and open files listed below (by default, it will go to the correct directory which is C:\Program Files\Common Files\Merge Modules).
Here is list file have to add,
3.now right click on Crystal_regwiz2003.msm , Click Properties. in properties window, Click on (MergeModuleProperties), in License Key property set license code of crystal report.
This code can be obtained from Help menu -> About Microsoft Visual Studio, here u find a licence code for 'Crystal Reports'. copy this code and paste it in license key proparty.
4.Almost done. Now build setup by Right click on Setup1 and Click on Build
5.Copy the setup1.exe from you project output folder (normally is in Project's Debug or Release folder)
Install this exe during deployment.
We have learned today by this article, how to create Deployment Package with Crystal Report using Visual Studio 2005.hopes help to all.