Home Delphi Crystal Report 9 - inno setup
Crystal Report 9 - inno setup PDF Print E-mail
Written by Administrator   
Monday, 31 August 2009 15:42

CRYSTAL REPORT 9 - INNO SCRIPT

;****************************************************;
;      Copyright (C) 1992-2006 sportamok             ;
;                  www.sportamok.com                 ;
;                                                    ;
;      simple crystal application install script     ;
;                                                    ;
;                                                    ;
;                      Freeware                      ;
;               Inno Setup ver. 4.0.8                ;
;****************************************************;
[Setup]
AppName=Simple Crystal Report 9 Application
AppVerName=sportamok
DefaultDirName={pf}\sportamok\Simple Crystal 09
DefaultGroupName=sportamok
UninstallDisplayIcon={app}\SimpleCrystal09.exe
DisableProgramGroupPage=true
LicenseFile=license.txt
AppCopyright=Copyright © 2009 sportamok

InternalCompressLevel=ultra
RestartIfNeededByRun=false
VersionInfoCompany=www.sportamok.com
VersionInfoDescription=www.sportamok.com
ExtraDiskSpaceRequired=70
ShowLanguageDialog=no
WizardImageStretch=false
SolidCompression=true
CreateAppDir=true
SetupIconFile=setup.ico
AppContact=contactus@sportamok.com
UninstallLogMode=append
AppendDefaultDirName=false
EnableDirDoesntExistWarning=true
AllowRootDirectory=true
AppID={{155BC674-1324-FFEF-5479-297A-7ABC5696F56A}

SourceDir=..
OutputDir=..
Compression=lzma/ultra
UninstallFilesDir={app}\uninst
;MinVersion=0,5.0.2195sp3
VersionInfoVersion=1.0.0.0
VersionInfoTextVersion=1.0.0.0
VersionInfoCopyright=Freeware

[Files]
;***** binaries *****
Source: SimpleCrystal_cr09.exe; DestDir: {app}; DestName: SimpleCrystal09.exe; Components: application
Source: sample.rpt; DestDir: {app}; Components: application
Source: Source\*.*; DestDir: {app}\Source\; Components: application

;***** microsoft system *****
;Source: components\system32\*.*; DestDir: {sys}; Flags: onlyifdoesntexist

;***** Business Objects *****
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\*.*; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist; Components: crystalreports

;***** Business Objects crystalreportviewers11 *****
;Source: components\cr09_dll\Crystal_Decisions_2.0\crystalreportviewers11\prompting\css\*.*; DestDir: {cf}\Crystal Decisions\2.0\crystalreportviewers11\prompting\css\; Flags: onlyifdoesntexist
;Source: components\cr09_dll\Crystal_Decisions_2.0\crystalreportviewers11\prompting\html\*.*; DestDir: {cf}\Crystal Decisions\2.0\crystalreportviewers11\prompting\html\; Flags: onlyifdoesntexist
;Source: components\cr09_dll\Crystal_Decisions_2.0\crystalreportviewers11\prompting\images\*.*; DestDir: {cf}\Crystal Decisions\2.0\crystalreportviewers11\prompting\images\; Flags: onlyifdoesntexist
;Source: components\cr09_dll\Crystal_Decisions_2.0\crystalreportviewers11\prompting\js\*.*; DestDir: {cf}\Crystal Decisions\2.0\crystalreportviewers11\prompting\js\; Flags: onlyifdoesntexist

;***** we need to register these dll *****

Source: components\cr09_dll\Crystal_Decisions_2.0\bin\Cdo32.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\commonobjmodel.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\crqe.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\crtslv.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\dataDefModel.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\ExportModeller.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\t">pageObjectModel.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\ReportRenderer.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\RptControllers.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\rptdefmodel.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\sacommoncontrols.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\saxmlserialize.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\UndoManager.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports
Source: components\cr09_dll\Crystal_Decisions_2.0\bin\webReporting.dll; DestDir: {cf}\Crystal Decisions\2.0\bin; Flags: onlyifdoesntexist regserver; Components: crystalreports

;***** Business Objects system32 *****
Source: components\cr09_dll\system32\*.*; DestDir: {sys}; Flags: onlyifdoesntexist; Components: crystalreports

[Components]
Name: application; Description: Simple Crystal Report Application; Types: full compact custom; Flags: fixed
Name: crystalreports; Description: Crystal Reports 9; Types: full

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

[Icons]
Name: {group}\Simple Crystal 09; Filename: {app}\SimpleCrystal09.exe; Components: application
Name: {group}\{cm:ProgramOnTheWeb,Simple Crystal 09}; Filename: {app}\sportamok.url; Components: application
Name: {group}\{cm:UninstallProgram,Simple Crystal 09}; Filename: {uninstallexe}; Components: application
Name: {userdesktop}\Simple Crystal 09; Filename: {app}\SimpleCrystal09; Tasks: desktopicon; WorkingDir: {app}; IconIndex: 0; Components: application
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\sportamok; Filename: {app}\SimpleCrystal09; Tasks: quicklaunchicon; WorkingDir: {app}; IconIndex: 0; Components: application

[Languages]
Name: en; MessagesFile: compiler:Default.isl

[INI]
Filename: {app}\sportamok.url; Section: InternetShortcut; Key: URL; String: http://www.sportamok.com/development; Components: application

[Registry]
Root: HKLM; Subkey: SOFTWARE\Crystal Decisions\9.0\Crystal Reports; ValueType: string; ValueName: CommonFiles; ValueData: {cf}\Crystal Decisions\2.0\bin; Flags: uninsdeletekeyifempty; Components: crystalreports
Root: HKLM; Subkey: SOFTWARE\Crystal Decisions\9.0\Crystal Reports; ValueType: string; ValueName: ChartSupportPath; ValueData: {cf}\Crystal Decisions\2.0\ChartSupportPath; Flags: uninsdeletekeyifempty; Components: crystalreports
Root: HKLM; Subkey: SOFTWARE\Crystal Decisions\9.0\Report App\Client SDK; ValueType: string; ValueName: LogFailedXml; ValueData: No; Flags: uninsdeletekeyifempty; Components: crystalreports
Root: HKLM; Subkey: SOFTWARE\Crystal Decisions\9.0\Report App\Client SDK; ValueType: string; ValueName: LogFile; ValueData: ; Flags: uninsdeletekeyifempty; Components: crystalreports

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

[UninstallDelete]
Name: {app}\SimpleCrystal09.exe; Type: files
Name: {app}\sportamok.url; Type: files


Add this page to your favorite Social Bookmarking websites
Digg! Del.icio.us! JoomlaVote! StumbleUpon! Google! Live! Technorati!
Last Updated on Wednesday, 02 September 2009 07:27