PDA

Click to See Complete Forum and Search --> : Invalid TLV record in CR10 distro?


drag0n_45
Apr 29th, 2008, 02:46 PM
Hello all,
I recently made an app using CR10. CR5 was also installed on the dev machine and apps that used 5 still worked without a problem on that machine. I used ********** (portrayed below) to distribute my project. I get the mesage "Invalid TLV record" when I try to open a CR in my project, but on the dev. machine it works. Here's the compilation line from Inno...

; ********** Version 9.0 Build 4 Trial
; Randem Systems, Inc.
; Copyright 2003-2008
; Website: http://www.***********
; Support: http://www.***********/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)

; Date: April 22, 2008

; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 9\VB 6 Redist Files\
; Visual Basic Project File (.vbp): C:\Documents and Settings\Chris.INS_DOMAIN\My Documents\RSR Manager\projRSR.vbp
; Inno Setup Script Output File (.iss): C:\Documents and Settings\Chris.INS_DOMAIN\My Documents\RSR Manager\setup\Inno\setup Release.iss

; ------------------------
; References
; ------------------------

; Visual Basic For Applications - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft ActiveX Data Objects 2.0 Library - (msado25.tlb)
; Microsoft Data Report Designer 6.0 (SP4) - (MSDBRPTR.DLL)
; Microsoft Data Formatting Object Library 6.0 (SP6) - (MSSTDFMT.DLL)
; Microsoft Data Binding Collection VB 6.0 (SP4) - (MSBIND.DLL)
; Microsoft Data Source Interfaces - (msdatsrc.tlb)
; Microsoft DAO 3.6 Object Library - (dao360.dll)
; Unknown Component (Possibly not registered) - crviewer.dll - 10.0 - (crviewer.dll)
; Crystal Reports ActiveX Designer Design and Runtime Library 10.0 - (craxddrt.dll)
; Crystal Reports ActiveX Designer Run Time Library 10.0 - (craxdrt.dll)


; --------------------------
; Components
; --------------------------

; Microsoft ADO Data Control 6.0 (SP6) (OLEDB) - (MSADODC.OCX)
; Microsoft DataGrid Control 6.0 (SP6) (OLEDB) - (MSDATGRD.OCX)
; Microsoft DataList Controls 6.0 (SP3) (OLEDB) - (MSDATLST.OCX)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; Microsoft Rich Textbox Control 6.0 (SP6) - (RICHTX32.OCX)
; Microsoft MAPI Controls 6.0 - (MSMAPI32.OCX)


[Setup]
AppId=RSR Manager

;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------

AppName=RSR Manager 1.0
AppVerName=RSR Manager
AppPublisher=UniTech Services

;------------------------------------------------------------------------------------------------------------------------

AppVersion=1.0
VersionInfoVersion=1.0
AllowNoIcons=no
DefaultGroupName=RSR Manager
DefaultDirName={pf}\RSR Manager
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,4.0
Compression=lzma
OutputBaseFilename=projRSR104Release

[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked

[Files]
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: uninsneveruninstall; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: uninsneveruninstall; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: uninsneveruninstall restartreplace regtypelib; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: uninsneveruninstall; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 9\vb 6 redist files\vb5db.dll; DestDir: {sys}; Flags: uninsneveruninstall; OnlyBelowVersion: 0,6
Source: c:\documents and settings\chris.ins_domain\my documents\rsr manager\setup\support\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\documents and settings\chris.ins_domain\my documents\rsr manager\setup\support\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\documents and settings\chris.ins_domain\my documents\rsr manager\setup\support\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\common files\microsoft shared\dao\dao360.dll; DestDir: {cf}\microsoft shared\dao\; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\msdatgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\msdatlst.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\richtx32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\msmapi32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Common Files\Crystal Decisions\2.5\crystalreportviewers10\ActiveXControls\crviewer.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Common Files\Crystal Decisions\2.5\bin\craxddrt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Common Files\Crystal Decisions\2.5\bin\craxdrt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\documents and settings\chris.ins_domain\my documents\rsr manager\projrsr.exe; DestDir: {app}; Flags: restartreplace ignoreversion;
Source: c:\documents and settings\chris.ins_domain\my documents\rsr manager\report.rpt; DestDir: {app}; Flags: restartreplace ignoreversion;
Source: c:\documents and settings\chris.ins_domain\my documents\rsr manager\iso.txt; DestDir: {app}; Flags: restartreplace ignoreversion;
Source: C:\Documents and Settings\Chris.INS_DOMAIN\My Documents\RSR Manager\setup\Inno\Manifest\projRSR.exe.manifest; DestDir:{app}; Flags: ignoreversion

[Icons]
Name: {group}\RSRMaker ; Filename : {app}\projRSR.exe; WorkingDir: {app}
Name: {group}\{cm:UninstallProgram, RSRMaker }; Filename: {uninstallexe}
Name: {commondesktop}\RSRMaker ; Filename: {app}\projRSR.exe; Tasks: desktopicon; WorkingDir: {app}
Name: {commonappdata}\Microsoft\Internet Explorer\Quick Launch\RSRMaker ; Filename: {app}\projRSR.exe; Tasks: quicklaunchicon; WorkingDir: {app};

[Run]
Filename: {app}\projRSR.exe; Description: {cm:LaunchProgram, RSRMaker }; Flags: nowait postinstall skipifsilent; WorkingDir: {app}

[UninstallDelete]
Type: files; Name: {app}\projRSR.url
Type: dirifempty; Name: {app}

randem
Apr 29th, 2008, 04:30 PM
Since CR 9, CR has been distributed with Merge Modules which you need to include in your installation package for CR to work. With CR 8.5 I have created a distribution package that can be deployed with your installation. CR has always been a problem with being deployed because their .dep files have always been flawed.

Inno Script already allows you to include the correct merge modules, all you have to do is to select the item then download it...

To deploy CR 5 with Inno Script you will need to remove the CR files from the Unsafe file list and re-run Inno Script. Try that and if that fails report your script and we will take it from there.

drag0n_45
Apr 30th, 2008, 07:40 AM
I'm not distributing CR5, I'm distributing CR10. I'll try your msuggestion and see where it leads. This is my first time using Inno also.

drag0n_45
Apr 30th, 2008, 07:57 AM
It looks like the redistributable worked!!

Now I was using inno script and then it expired and I'm too cheap to buy it, so how would I go about making Inno setup run that redist package automaticall when it installs?

randem
Apr 30th, 2008, 04:16 PM
Use the run section...

drag0n_45
Apr 30th, 2008, 08:21 PM
wait a minute.. i just realized inno is made by randem and you're randem..lol.. are you the guy?..

randem
Apr 30th, 2008, 08:22 PM
I am that guy...

drag0n_45
May 1st, 2008, 07:36 AM
That is awesome indeed. Did you actually write Inno or are you on a team? I have another question but I'll start another thread about it as it has nothing to do with this one.

randem
May 2nd, 2008, 12:43 AM
I wrote Inno Script (one word) not Inno Setup...

drag0n_45
May 2nd, 2008, 08:03 AM
OOO Still pretty good though. I'm going to try to look into the thing for the run section today and see if I can't figure it out.