I am trying to redistribute my visual studio 2010 program to client computers. When I publish the program and execute it from my developping computer, everything works fine (probably because crystal reports is installed). Although, when I try to execute the setup on the client computer, it runs into an error when trying to install:

"SAP Crystal Reports Runtime Engine for .Net 4.0"

My prerequisites are: Microsoft .NET Framework 4 Client Profile (x86 and x64) SAP Crystal Reports Runtime Engine for .NET Framework 4.0 Windows Installer 3.1

Install location is: "Download prerequisites from the component vendor's web site"

Here are the application files that are set to Included and Required.

.dll Files

Is there any reason for the "SAP Crystal Reports Runtime Engine For .Net 4.0" not installing? I tried putting one of the prerequisites to the full "Microsoft.NET Framework 4" instead of it's client profile - but that one wouldn't install either.

Here is a screenshot of the warnings I get: Errors

有帮助吗?

解决方案

For those wondering what I did to solve this. I changed from Crystal Reports to the built in ReportViewer control included in Visual Studio (Professional). It's free, and basically the same.

From experience, crystal reports was much easier to build the reports but when it came to the deployment of a program using Crystal Reports, I would have various bugs that would take forever to solve. All in all, it wasn't as robust as ReportViewer is in the deployement department.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top