Create Deployment Package with Crystal Report using Visual Studio 2005

No.of Views7488
Bookmarked1 times
Downloads 
Votes0
By  dotnetfish   On  11 Nov 2010 09:11:53
Tag : Crystal Reports , General
This article going to demonstrate to you all, how to create Deployment Package with Crystal Report using Visual Studio 2005.
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

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. 

Image Loading

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). 

Image Loading

Here is list file have to add,

  • Crystal_Database_Access2003.msm
  • Crystal_Database_Access2003_enu.msm
  • Crystal_Managed2003.msm
  • Crystal_regwiz2003.msm
Image Loading

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. 

Image Loading

4.Almost done. Now build setup by Right click on Setup1 and Click on Build 

Image Loading

5.Copy the setup1.exe from you project output folder (normally is in Project's Debug or Release folder)

Install this exe during deployment.

References

http://msdn.microsoft.com/en-us/library/ms225227(VS.80).aspx
http://msdn.microsoft.com/en-us/library/aa287924(VS.71).aspx
http://msdn.microsoft.com/en-us/library/aa288179(VS.71).aspx
http://msdn.microsoft.com/en-us/library/ms227409(VS.80).aspx

Conclusion

We have learned today by this article, how to create Deployment Package with Crystal Report using Visual Studio 2005.hopes help to all.

 
Sign Up to vote for this article
 
About Author
 
dotnetfish
Occupation-
Company-
Member Type-Senior
Location-United States
Joined date-05 Sep 2010
Home Page-
Blog Page-dotnetfish.blogspot.com
 
 
Other popularSectionarticles
Comments
By:Kishor patilDate Of Posted:2/21/2011 5:12:08 AM
vb.net setup wizard
How to Create Setup Wizard attaching a framework & crystal report & inbuit Database in one Setup file
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top
</