I have a Windows application developed in VS2010 and .Net framework 4.0. We have used Crystal reports in the application.
We need to create an installer by including crystal report runtime and the required visual C++ dependencies as per the following link: http://wiki.sdn.sap.com/wiki/display/BOBJ/Using+Crystal+Reports+for+Visual+Studio+2010+Merge+Modules+(MSM)+to+create+a+Setup+project
We tried the below 2 solutions as part of our effort so far. However we get errors when using the installer to install the application on the target machine.
The first solution included using the following merge module files as part of the installer (as per above link):
1. CRRuntime_12_3.msm
2. Microsoft_VC80_ATL_x86.msm
3. Microsoft_VC80_CRT_x86.msm
4. Microsoft_VC80_MFC_x86.msm
5. Microsoft_VC80_OpenMP_x86.msm
The second included using the following merge modules files as part of installer (as per this site: http://csharp.net-informations.com/crystal-reports/csharp-crystal-merge-module.htm):
1. CRRuntime_12_3.msm
2. CrystalReportsRedist2005_x86.msm
3. Microsoft_VC80_ATL_x86.msm
4. policy_8_0_Microsoft_VC80_ATL_x86.msm
Just as a troubleshooting step, we installed the visual C++ dependency on the target machine and tried installing the application with just the Crystal Report runtime file (CRRuntime_12_3.msm). This too was unsuccesful.
All the errors received so far were similar in nature, with the message saying failed to register dll (querypanel.dll, crtslv.dll).
The target machine has Windows 7 as the OS and the below installed: .NET framework 4.0 Client Profile .NET framework 4.0 Extended Microsoft visual C++ 2005 redistributable (i will uninstall this, because i need to create the installer by adding this dependency)
Any help on resolving this will be appreciated.