Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: biznuiz on June 08, 2010, 04:28:43 PM

Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 04:28:43 PM
Hi I have some crasshing problems with the CR Report software.
I've already added CR Merge Module in Inno Script then Compile has Success.
 
Source: Z:\MASTER\Developer Tools\Inno Setup\Third-Party Files\InnoScript\Crystal Reports Merge Module\CRXI_5_RDC_Redistribution.msi; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; Tasks: CRInstallation
 
 
Then..My App has success installed.
But when I try to run my report in my app it error like this:
Component CRViewer.dll or one of its dependencies not correctly registered: a file is missing or invalid
 
Why?
 
 
Regards
Biznuiz(https://randemsystems.support/discus/messages/12/9833.jpg)
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 06:43:55 PM
I just noticed you are posting in the SVC forum. Why? I believe you should be in the InnoScript forum and you should have started your own thread not hijack another members. The issue has nothing to do with their problem.
 
I will move it.
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 04:34:30 PM
Aloha biznuiz,
 
I would need to see your whole script to make a determination but off hand I would say you are possibly combining two versions of CR in your application so when you deploy CR XI 5 it does not deploy the other version you are using.
 
Let see your script.
Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 04:53:01 PM
; InnoScript Version 10.2  Build 14
; Randem Systems, Inc.
; Copyright (c) 2002 - 2010, Randem Systems, Inc.
; Website:  https://randemsystems.com (https://randemsystems.com)
; Support:  https://randemsystems.support (https://randemsystems.support)
; OS: Windows XP 5.1 build 2600 (Service Pack 3)
 
; Derived from VB VBP Project File
 
; Designed for Inno Setup Version: 5.3.9 (a)
; Installed Inno Setup Version: 5.3.9 (a)
 
; Local Machine Settings. Use these settings as a template for your installation folders
 
; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Documents and Settings\Administrator\Application Data\Randem Systems\InnoScript\
; {localappdata}  : C:\Documents and Settings\Administrator\Local Settings\Application Data\Randem Systems\InnoScript\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Documents and Settings\Administrator\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\
 
; Date: June 09, 2010
 
;              VB Runtime Files Folder:   C:\Program Files\Inno Setup 5\InnoScript 10\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   Z:\DATA\Kompi\Coba\Project.vbp
; Inno Setup Script Output File (.iss):   Z:\DATA\Kompi\Coba\Scripts\Project 1.0.0 Release.iss
;:   C:\Documents and Settings\Administrator\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\Release.tpl
;:   C:\Documents and Settings\Administrator\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\Crystal Reports.tpl
 
; ------------------------
;        References
; ------------------------
 
; OLE Automation - (stdole2.tlb)
; Microsoft ActiveX Data Objects 2.7 Library - (msado27.tlb)
; Microsoft Data Binding Collection VB 6.0 (SP4) - (MSBIND.DLL)
; Microsoft SQLDMO Object Library - (sqldmo.dll)
; Microsoft Data Formatting Object Library 6.0 (SP6) - (MSSTDFMT.DLL)
; Crystal Reports ActiveX Designer Design and Runtime Library 11.5 - (craxddrt.dll)
; Microsoft Scripting Runtime - (scrrun.dll)
 
 
; --------------------------
;        Components
; --------------------------
 
; ComponentOne True DBDate 8.0 - (tidate8.ocx)
; Data Dynamics ActiveBar 2.0 - (Actbar2.ocx)
; ComponentOne Sizer/Tab Controls 8.0 - (c1sizer.ocx)
; ComponentOne True DBContainer3D 8.0 - (ticon3d8.ocx)
; ActiveSplash 1.0 Type Library - (actsplash.ocx)
; ComponentOne True DBNumber 8.0 - (tinumb8.ocx)
; Crystal ActiveX Report Viewer Library 11.5 - (CRViewer.dll)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; ComponentOne True DBGrid Pro 8.0 (OLEDB) - (todg8.ocx)
; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
; ComponentOne True DBList Pro 8.0 (OLEDB) - (todl8.ocx)
; FindButton by Bibin - (FindButton.ocx)
 
 
[Setup]
SetupLogging=Yes
AppId=BizProd
 
;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------
 
AppName=Dodol 1.0.0
AppVerName=Dodol
AppPublisher=IT
 
;------------------------------------------------------------------------------------------------------------------------
 
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
DefaultGroupName=IT\Dodol
DefaultDirName={pf}\IT\Dodol
AppCopyright=
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 05:07:17 PM
Ok, thanks. Checking...
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 05:13:13 PM
There should be a file named crmsilog.txt located in your temp folder. Could you post it. The file should be located at C:\Documents and Settings\Administrator\Local Settings\Temp\
Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 05:52:52 PM
Sorry, it's nothing.
Not found.
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 05:57:02 PM
You are looking on the installation computer correct? Under the user you installed it under.
 
C:\Documents and Settings\USERNAME\Local Settings\Temp\
 
See if you can find these files on where you installed the installation.
 
crviewer.dll
craxdrt.dll
Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 06:04:48 PM
Where is it?
I have to searching at Computer that created the script or Destination Computer (Running My Installer)?
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 06:06:04 PM
You should be looking on the destination computer where you installed your application.
Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 06:15:33 PM
I can't found it, but can u explain this messages:
 
(https://randemsystems.support/discus/messages/12/9839.jpg)
 
 
 
 
All of it appeared while running my installer.
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 06:42:16 PM
If you cannot find any of the files then CR was not installed. Did you search your whole hard disk? The .dll files would not be in the temp folder they would be in the system32 folder or the program files folder someplace.  
 
As far as SQLDMO.dll is concerned you cannot deploy it the way you are doing so. You must deploy the whole folder structure where it is installed on your computer. There is another file in that structure that it needs named SQLDMO.rll.
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 07:04:44 PM
Thread Moved.
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 07:39:36 PM
As far as Crystal Reports try this, comment out craxdrt.dll from the unsafe file list then re-run InnoScript. This file should appear in your script.
Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 08:19:48 PM
Thanks for your time and attention. I will investigate this further. I'll come back here.
 
Regards,
Biznuiz
Title: Crystal Reports Deployment Issue
Post by: Randem on June 08, 2010, 08:33:18 PM
To clarify:
 
You must deploy the whole structure located at: C:Program FilesMicrosoft SQL Server80ToolsBinn
 
That means you deploy the whole Binn folder and all sub folders underneath it so that when you register the SQLDMO file it can find what it needs. MS seemingly hard coded this one...
Title: Crystal Reports Deployment Issue
Post by: biznuiz on June 08, 2010, 09:49:02 PM
How? What can I do to deploy whole structure located at: C:Program FilesMicrosoft SQL Server80ToolsBinn?
 
Other questions:
How to add the MSDE 2000 to enter in one Inno Script?
And I'd be happier if I could at once restore the database to SQL Server Express (MSDE 2000).
 
Thanks and Regards,
Biznuiz
Title: Crystal Reports Deployment Issue
Post by: Randem on June 09, 2010, 06:11:51 AM
Just add the folder to the add folders tab. You will also need to add a template for this line to complete the change. When the script is created it will show that the destination is C:Program FilesMicrosoft SQL Server80Tools because this is what you changed it to.
 
Or you can change the destination to be where ever you like.