Link to home
Start Free TrialLog in
Avatar of RekhaShah
RekhaShah

asked on

Deploying vb.net desktop app with Crystal reports

Hi,
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.
Avatar of Munawar Hussain
Munawar Hussain
Flag of Pakistan image

hi

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



http://www.4shared.com/file/55609170/aef0f3d1/CrystalReportsRedist2005_x86.html?s=1

Open in new window

Avatar of RekhaShah
RekhaShah

ASKER

Hi,
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.
See the error message
ASKER CERTIFIED SOLUTION
Avatar of Munawar Hussain
Munawar Hussain
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
needo Jee's suggestion for the websit of SAP helpe me find. Thanks.

On SAP site, I found my answer:

Symptom

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?

Resolution

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.
Keywords
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
 
 
hi,
cheers..nice to hear that it was exactly what you was looking for.....

thanks :)