Deploying desktop app with Crystal reports

Posted on 2009-02-15
Last Modified: 2013-12-12
I am using 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 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
    LVL 12

    Expert Comment


    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

    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

    See the error message
    LVL 12

    Accepted Solution

    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

    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

    cheers..nice to hear that it was exactly what you was looking for.....

    thanks :)

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
    The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

    730 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now