Deploying vb.net desktop app with Crystal reports

Posted on 2009-02-15
Medium Priority
Last Modified: 2013-12-12
I am using vb.net in Visual Studio 2005 . I have created crystal reports with CR XI.
I would like to know how to create an installation package such that it iwll also deploy my reports. These reports are not part of my project. i load them using crystal document.
I would like to have a step by step instruction on how to create this setup project and also which crystl reports merge modules I will need to include in my setup project, and where would I add these report files when I am in Setup projct.
This is my first actual VB.Net app where I need to deploy the project.  I have searched the web and have not found any simple instructions. It does become quite overwhelming with all the options. and same thing can be done in so many ways!!!!
I need a standard , simple project which I can modify for other apps that I will be building in future - using vb.net and crystal reports.
I am using SQL Server 2003 database and the reports get the data thru Stored procedures.
Any help will be greatly appreciated. I kind of have a deadline of this weekend!
Thanks a million in advance.
Question by:RekhaShah
  • 3
  • 3
LVL 12

Expert Comment

by:Munawar Hussain
ID: 23646534

deploying a winapp with crystal reports... here your concern is only how to deploy crystal reports runtime with your application.

You can add a merge module to your installer .. just right click installer, add merge module.. select from the path.

if you have Visual Studio 2005 & Cr X1  you may use this "CrystalReportsRedist2005_x86.msm" .. can be downloaded from internet freely


Open in new window


Author Comment

ID: 23647312
I downloaded  CrystalReportsRedist2005_x86.msm file and added to my merge module. But when I installed this app on a different server, it still gave me an error about not finding Crystal report dependency file.
Also, I am new to .net installation package. I might have messed up somewhere in creating a setup project. Please provide step by step instruction if you can. Also, I did not want to have a clickeonce installation,  I ended up having temporaryKey.pfx file and other clickonce related information in my project. How do I remove all the information from my project and start over to have a regular installation which will install my app with all its dependencies and all the crystal reports in the sub folder.

Author Comment

ID: 23647342
See the error message
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Accepted Solution

Munawar Hussain earned 2000 total points
ID: 23654670
1st here is same question already answered.

2nd.. if you have VS2008 .. then you may find the runtime from following path.

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x86.msi OR you may download from net.

I deployed winapp from vs2005 with CrystalReportsRedist2005_x86.msm and that worked well however .. recently I created an installer with vs2008 but could not get that working with msm file.... then I used the msi from

program files .. as give above .. you may look under relevant installation directory on your system


Author Comment

ID: 23704931
needo Jee's suggestion for the websit of SAP helpe me find. Thanks.

On SAP site, I found my answer:


When you install Crystal Reports XI Release 2, there are two merge modules that are installed.
Which one should you use when deploying Microsoft Visual Studion .NET applications?


If you are deploying an application that uses Microsoft Visual Studio .NET 2002 or 2003, you should use the CrystalReports11_5_NET.msm merge module.
If you are deploying an application that uses Microsoft Visual Studio .NET 2005, you should use the CrystalReports11_5_NET_2005.msm merge module.
MM MSM .NET DOTNET NET XI R2 11.5 RUNTIME FILES DEPLOY Crystal Reports Deployment Runtime files Merge Modules , c2018687

I included CrystalReports11_5_NET.msm merge module in my setup program and it Worked
LVL 12

Expert Comment

by:Munawar Hussain
ID: 23705116
cheers..nice to hear that it was exactly what you was looking for.....

thanks :)

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question