Crystal Reports Integration with Inno Setup

Started by Randem, November 02, 2010, 03:32:12 PM

Previous topic - Next topic

Randem

The link was incorrect. Thank you for pointing that out. Here is the link you need Crystal reports 10 RDC Redist
 
The site has been updated also.

Randem

If the link is to the same file it is a mistake and I will correct it and let you know when it has been corrected.

tack0

i've a vb application who uses cr for viewing reports. i've also downloaded innosetup for package the app and the CRX redistribution runtime posted on https://randemsystems.support/crystal-reports/
 
the links of Crystal Reports Version X (RDC 10.0 - Complete (11/25/10)) and (.NET - 10.0 (11/25/10)) are to the same file (CRX_NET_Redistribution.msi)
 
It's the same file for both links? or its a mistake, i've tried to compile my app renaming CR_NET... to CR_RDC... and doesn't work

tack0

i've a vb application who uses cr for viewing reports. i've also downloaded innosetup for package the app and the CRX redistribution runtime posted on https://randemsystems.support/crystal-reports/
 
the links of Crystal Reports Version X
RDC 10.0 - Complete (11/25/10)
.NET - 10.0 (11/25/10)
 
are to the same file (CRX_NET_Redistribution.msi)
 
It's the same file for both links? or its a mistake, i've tried to compile my app renaming CR_NET... to CR_RDC... and doesn't work

Randem

You just can't put thing in a script and expect them to work if you don't have a basis on how they work together. You still haven't answered my question on what version of CR that you use in your application. Is the CR you use in your app .NET or RDC? Did you remove all the other CR components from your script. I need to see your script to understand what you did or are attempting to do.
 
It's like going to the mechanic and telling him what you think one part of is doing and expecting him to fix it without the car...
 
the AutoOSUpdater was designed to work with InnoScript but will work elsewhere but you have to understand how it works together...

zb197

I built the script by hand. It is validated with istool. I validated the install worked by checkng c:windows/assembly.
 
got so frustated that I just pulled out CR and used a listview. It bloated my setup file from 2mb to 30mb and t was just too complicated and didnt work.
 
zb

Randem

Aloha zb197,
 
I cannot tell from what you listed what your script looks like. The whole script determines what happens with your app not just one piece. Post your whole script. Did you use InnoScript to create your script?
 
Aside from that have you checked to see if CR was actually installed? What version of CR is your application using?
 
Topic Moved to Inno Setup

zb197

I have InnoSetup version 5.3.10
I am using Visual Studio 2005 .net c#
 
I downloaded the crystal reports X msi file (CRX_NET_Redistribution.msi) from your site
 
I am trying to run an embedded report with the viewer
 
I added a task:
Name: CRInstallation; Description: Install Crystal Reports Runtime Files; GroupDescription: Install CR Runtime Files;
 
 
I added a file:
;;Crystal Reports 10 runtime
Source: ThirdPartyCrystalReportsCRX_NET_Redistribution.msi; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression ignoreversion; Tasks: CRInstallation
 
 
I added a run statement:
Filename: msiexec.exe; Parameters: /package {tmp}CRX_NET_Redistribution.msi /passive; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: CRInstallation
 
 
However, when i try to use the CR in my app, I get the following error. What did I do wrong?
Thanks,
Zev.
 
 
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
 
 
ps: I tried to post this in InnoSetup but it told me the message greater than 0 kb was not allowed.