Click to See Complete Forum and Search --> : Necessary dll`s to deploy with CR 10 app (Resolved)
divined
Sep 21st, 2005, 12:40 PM
Hello everybody
I have built this application which uses Crystal Reports 10 for reporting purposes. In order to create an installation package I`ve used ********** & InnoSetup. The problem is that not all necessary dependencies required by Crystal Reports seem to have been included. I`m getting this error when deploying it on a machine which has no Crystal Reports installation.
Runtime error '91'
Object variable or With block not set
I`m almost certain this error has to do with some missing dll, since it works on a machine with CR 10 preinstalled. Therefore, I would like to ask what are the necessary dll`s for CR 10 to function properly!
divined
Sep 23rd, 2005, 04:49 AM
Nobody? I`ve been reading the developer help files that come along with Crystal Reports, to no avail so far. First, of all I`m using the RDC component and thus have integrated the reports into my executable. And I`m also using the Crystal Report viewer to display the report on screen before the user prints it.
From what I`ve read I need to integrate into my installer the files below :
craxdrt9.dll
Development Location:
\Program Files\Crystal Decisions\Report Designer Component
Distribution Location:
\Program Files\Common Files\Crystal Decisions\2.0\bin
Crystal Reports 9 ActiveX Designer Runtime Support
crviewer9.dll
Development Location:
\Program Files\Crystal Decisions\9.0\Viewers\ActiveXViewer
Distribution Location:
\Program Files\Common Files\Crystal Decisions\2.0\bin
Crystal Report Viewer
These dll`s need to be registered. This is done by Innosetup successfully, since I get no errors during the installation.
Furthermore, in the developers help file it states that these files need to be included. But do they need to be registered as well?
crqe.dll
\Program Files\Common Files\Crystal Decisions\2.0\bin
Crystal Query Engine
Implode.dll
\Program Files\Common Files\Crystal Decisions\2.0\bin
Compression Library
msvcrt.dll
\Windows\system32 or \WINNT\system32 (NT only)
Microsoft (R) C Runtime Library
querybuilder.dll
\Program Files\Common Files\Crystal Decisions\2.0\bin
Crystal Query Builder
riched20.dll
\Windows\system32 or \WINNT\system32 (NT only)
Rich Text Edit Control, v3.0
ufmanager.dll
\Program Files\Common Files\Crystal Decisions\2.0\bin
Manager for loading UFL's
unicows.dll
See the note below.
Unicode Layer for Win9x
usp10.dll
\Windows\system32 or \WINNT\system32 (NT only)
Uniscribe Unicode script processor
Note: The following DLLs need only be included under these circumstances:
Include Implode.dll only for applications using reports created in versions previous to Crystal Reports 8.
Include unicows.dll only for applications installed on Win9x machines. Due to licensing restrictions, you must get unicows.dll from the Microsoft web site. Go to http://www.microsoft.com/msdownload/platformsdk/sdkupdate/default.htm? and select "Microsoft Layer for Unicode on Windows 95/98/ME Systems (MSLU) version 1.0".
I`ve gotten very irritated trying to make the final leap into completing my application and I just can`t seem to get the Installer working.
Any ideas from someone who has already deployed Crystal Reports 10 using ********** & Innosetup?
pnish
Sep 26th, 2005, 03:00 AM
I don't use Crystal 10, but in Crystal 9 you also needed to deploy a file containing registry entries, CR9DEPLOY.REG. Maybe some of your dll's aren't being registered properly and require this (or a similar) file.
Have you tried using VB6's Package & Deployment Wizard? Inno is usually much better, but the P & D may pick up something that Inno didn't. Run P & D Wizard on your project and compare the list of files it generates with Inno.
Worth a shot.
divined
Sep 28th, 2005, 12:59 AM
What I finally did was to use the Crystal Reports 10 merge modules and created an installer for the necessary CR 10 files. I used the Microsoft Visual Studio installer 1.1 for this purpose. I then created a separate installation package for my application. This means that I now have two installation packages required for my application but it all works fine now.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.