How to build a setup package with Crystal Reports 2008 SP1 merge modules and Visual Studio .NET 2008?

[] [] [] []

Related:

  1. Second and subsequent pages of a report appear blank in the Crystal Reports HTML viewer for VS .NET.Symptom A爎eport is stored in Session using the code below.燬ession("crReportDocument")...
  2. How to determine the version of Crystal Reports used to create a report?Symptom Some applications may have the requirement of retrieving the...

Symptom
Dependency warnings with:ATLOpenMPMFCCRTMFCLOCCrystal Reports 2008 SP1 merge modules.How to build a setup package with CRRuntime_12_1.msm?
Reproducing the Issue
Create a new setup爌roject in Visual Studio .NET 2008.Add the CRRuntime_12_1.msm merge module to the爏etup爌roject.燘uild the setup project.Visual Studio .NET 2008.Crystal Reports 2008 SP1 merge modules (CRRuntime_12_1.msm).
Cause
The merge modules for Crystal Reports 2008 SP1 are dependent on the Microsoft Visual C++ 2005 SP1 libraries.The merge modules for the Microsoft Visual Studio .NET 2005 SP1 files are only available if you install Visual Studio .NET 2005 SP1.
Resolution
This can be resolved by adding a custom bootstrapper package to your development system. The new bootstrapper package includes all the information necessary to add the Microsoft Visual C++ 2005 Redistributable (vcredist_x86.exe) as a prerequisite for your application.
Downloadvcredist_x86_8.0.zipfrom this SAP Note.Extract the contents of the zip archive to theC:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\directory.Open your setup project in Visual Studio .NET 2008.Right click the setup project name in the Solution Explorer and select Add > Merge Modules.Add the CRRuntime_12_1.msm file to your setup package.Right click the CRRuntime_12_1.msm file and select Properties.Expand the MergeModuleProperties and scroll down until you find the Keycode property.Enter your keycode.Right click on the setup project name in the Solution Explorer and select Properties.Click on the Prerequisites button.SelectVisual Studio 2005 SP1 C++ Runtime Libraries (x86).Select any other prerequisites your application my need. Such as, the .NET Framework or Windows Installer 3.1.Click Ok.Click Ok.Build your setup project and ignore all warnings like:unable to find module dependency with signature …Copy all the setup files to a clean client and install.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment