SAP Knowledge Base Article - Public

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

Symptom

  • Dependency warnings with:
    • ATL
    • OpenMP
    • MFC
    • CRT
    • MFCLOC
  • Crystal Reports 2008 SP1 merge modules.
  • How to build a setup package with CRRuntime_12_1.msm?

Reproducing the Issue

  1. Create a new setup project in Visual Studio .NET 2008.
  2. Add the CRRuntime_12_1.msm merge module to the setup project. 
  3. Build 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.

  1. Download vcredist_x86_8.0.zip from this SAP Note.
  2. Extract the contents of the zip archive to the C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\ directory.
  3. Open your setup project in Visual Studio .NET 2008.
  4. Right click the setup project name in the Solution Explorer and select Add > Merge Modules.
  5. Add the CRRuntime_12_1.msm file to your setup package.
  6. Right click the CRRuntime_12_1.msm file and select Properties.
  7. Expand the MergeModuleProperties and scroll down until you find the Keycode property.
  8. Enter your keycode.
  9. Right click on the setup project name in the Solution Explorer and select Properties.
  10. Click on the Prerequisites button.
  11. Select Visual Studio 2005 SP1 C++ Runtime Libraries (x86).
  12. Select any other prerequisites your application my need. Such as, the .NET Framework or Windows Installer 3.1.
  13. Click Ok.
  14. Click Ok.
  15. Build your setup project and ignore all warnings like: unable to find module dependency with signature ...
  16. Copy all the setup files to a clean client and install.

Keywords

KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

Crystal Reports 2008 V1

Attachments

vcredist_x86_8.0.zip