yes randem, this appears to be the problem. I don't have the crviewer.ocx on my system. should i re-install crystal??? what do you suggest
Printable View
yes randem, this appears to be the problem. I don't have the crviewer.ocx on my system. should i re-install crystal??? what do you suggest
You say your system is working when you include this object in the components and the References in the IDE?
yes Randem, it works perfectly.
So you use it differently in two different places? Where exactly where you use it in the two different ways?
ok Ive removed it from references and only clicked in in components. Now it appears once in both. But when I re run ********** it shows:
Code:; Unknown Component (Possibly not registered) - crviewer.dll - 11.0 - (crviewer.dll)
We've already covered that several times... where in your app do YOU use it...
I use it on four different forms to view the reports.
Ok, now am I to guess which forms????
randem i am going to try to install the app with the crviewer.dll included now.
If it doesn't work without it why try to install it????
Do you mind telling me which forms???
i use it in frmViewJobCard, frmItemManager, frmViewOldNotes and frmViewTransportSchedule.
I don't see where you us it. Ase you saying that you drop a dll on the form and it acts like a control?
I can't see what you see since I don't have CR XI
no randem, once you add the crviewer under the components then it is added to the compnents toolbar as a control. it's like a report picture with a magnifying glass on it and I drag that onto the form.
Some good news. I included the crviewer.dll in my installation and it is working:D . just want to test something else quickly. will come back and update u. thanks s much for your help Randem. I no this thread went on and on but you still kept helping me. You are an installation God. Thank you very very much.:wave:
So you did what I stated in post #45? Remove the crviewer.dll from the unsafe file list?
yes randem. It also appears that I didn't need to tick the dll in references and components because if i only clicked it in components it gets added to references. thanks again randem Thanks for ********** also. It's an excellent product.:afrog:
Ok, so lets see this script as it stands now...
ok, this is the latest script:
[CODE]; ********** Version 7.3 Build 2
; Randem Systems, Inc.
; Copyright 2003-2007
; Website: http://www.***********
; Support: http://www.***********/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Date: November 29, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 7\VB 6 Redist Files\
; Visual Basic Project File (.vbp): E:\David\VBDev\Plant Maintenance\plant.vbp
; Inno Setup Script Output File (.iss): E:\David\VBDev\Plant Maintenance\Improved Script\release Release.iss
; Script Template Files (.tpl): C:\Program Files\Randem Systems\**********\********** 7\Templates\Release.tpl
; : C:\Program Files\Randem Systems\**********\********** 7\Templates\Vista.tpl
; : E:\Downloads\Crystal Merge Module\CRXI_RDC_Redistribution\CR XI RDC Redistribution.tpl
; ------------------------
; References
; ------------------------
; Visual Basic For Applications - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft Internet Controls - (shdocvw.dll)
; Crystal Reports ActiveX Designer Run Time Library 11.0 - (craxdrt.dll)
; Crystal Reports ActiveX Designer Design and Runtime Library 11.0 - (craxddrt.dll)
; Microsoft Scripting Runtime - (scrrun.dll)
; Microsoft ActiveX Data Objects 2.8 Library - (msado15.dll)
; --------------------------
; Components
; --------------------------
; Microsoft Winsock Control 6.0 (SP6) - (mswinsck.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
; Microsoft Windows Common Controls-2 6.0 (SP6) - (mscomct2.ocx)
; Microsoft Tabbed Dialog Control 6.0 (SP6) - (tabctl32.ocx)
; Microsoft FlexGrid Control 6.0 (SP6) - (msflxgrd.ocx)
[Setup]
AppId=Project1 Release
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=Project1
AppVerName=Project1 1.0.0
AppPublisher=Network Support
;-----------------------------------------------------------------------------------------------------
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
DefaultGroupName=YardMan
DefaultDirName={code:GetAppFolder}\YardMan
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,5.01
Compression=lzma
OutputBaseFilename=YardMan21100Release
[Tasks]
Name: AutoOSUpdater; Description: Install MDAC's for Database Operations; GroupDescription: Install MDAC's:
Name: ScriptingRuntime; Description: Install Microsoft's Scripting Runtime; GroupDescription: Install Scripting Runtime:
[Files]
Source: "E:\Downloads\Crystal Merge Module\CRXI_RDC_Redistribution\CRXI_RDC_Redistribution.msi"; DestDir: "{tmp}"; Flags: nocompression ignoreversion deleteafterinstall
Source: c:\program files\vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: AutoOSUpdater
Source: e:\david\vbdev\plant maintenance\scripting runtime\scripten.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02; Tasks: ScriptingRuntime
Source: e:\david\vbdev\plant maintenance\scripting runtime\scr56en.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; Tasks: ScriptingRuntime
Source: e:\david\vbdev\plant maintenance\opendb.dsn; DestDir: {app}; Flags: ignoreversion;
Source: e:\downloads\crystal merge module\crxi_rdc_redistribution\crxi_rdc_redistribution.msi; DestDir: {app}; Flags: ignoreversion;
Source: c:\program files\common files\business objects\3.0\crystalreportviewers11\activexcontrols\crviewer.dll; DestDir: {cf}\business objects\3.0\crystalreportviewers11\activexcontrols\; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\mswinsck.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\windows\system32\msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: e:\david\vbdev\plant maintenance\exe\yardman21.exe; DestDir: {app}; Flags: restartreplace sharedfile;
Source: E:\David\VBDev\Plant Maintenance\Icons\*.*; DestDir: {app}\Icons; Flags: ignoreversion
Source: E:\David\VBDev\Plant Maintenance\Reports\*.*; DestDir: {app}\Reports; Flags: ignoreversion
[INI]
Filename: {app}\YardMan21.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\Project1; Filename: {app}\YardMan21.exe; WorkingDir: {app}
Name: {group}\{cm:ProgramOnTheWeb, Project1}; Filename: {app}\YardMan21.url
Name: {group}\{cm:UninstallProgram, Project1}; Filename: {uninstallexe}
[Run]
Filename: msiexec.exe; Parameters: "/package {tmp}\CRXI_RDC_Redistribution.msi /passive"; WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: AutoOSUpdater
Filename: {tmp}\scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: ScriptingRuntime
Filename: {tmp}\scripten.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: ScriptingRuntime
Filename: {app}\YardMan21.exe; Description: {cm:LaunchProgram, Project1}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\YardMan21.url
[Registry]
Code:function GetAppFolder(Param: String): String;
begin
if InstallOnThisVersion('0,6', '0,0') = irInstall then
Result := 'C:\Users\Public\' + ExpandConstant('{username}')
else
Result := ExpandConstant('{pf}');
end;
One problem... Remove this line
Source: e:\downloads\crystal merge module\crxi_rdc_redistribution\crxi_rdc_redistribution.msi; DestDir: {app}; Flags: ignoreversion;
There is no reason for you to have this in your installation twice...
will do. thanks again. ;)