📄 jvcl.iss
字号:
; Setup script for building the JVCL setup
; NB: uses ISX and ISPP. You need both or a fairly new version of InnoSetup to compile this script
; JVCL is delivered in three versions: sources only, sources + demos and full install with JCL
; This script can compile all three. The version compiled is controlled by the JVCLRELEASE below.
; If the user selects any of the additional "Build and Install XXX Packages" tasks (these are only available if the corresponding
; compiler is installed), the installer finds the correct dcc version and builds and installs the packages for the invoked compiler
;
; TODO:
; 1. Write functions to call dcc.exe and also install the compiled packages as well as the help files into the IDE.
; 2. Add "Install Run" items that calls the build and install functions for each package
; 3. Add infobefore.txt, infoafter.txt and license.txt (MPL1.1)
;#pragma option -C-
; uncomment this line to not include any files while testing the script (mainly used for syntax-checking the Code section)
#define DEBUGNOFILES
; set up macro terminators (so we avoid those pesky escapes)
#pragma inlinestart "<$"
#pragma inlineend "$>"
;general values
#define JVCLNAMELONG "JEDI VCL Library"
#define JVCLNAMESHORT "JVCL"
#define JVCLVER "3.00"
#define JVCLURL "http://jvcl.sourceforge.net"
#define JVCLAPPID "JVCL"
#define JVCLDEFDIR "\JEDI\JVCL"
#define JCLFOLDER "..\..\JCL"
;NB: define the various versions we can build
#define SMALL "small"
#define MEDIUM "medium"
#define LARGE "large"
;define the actual release we are going to build now
#define JVCLRELEASE SMALL
;define the name of the setup file
#if JVCLRELEASE == SMALL
#define JVCLSETUPNAME JVCLNAMESHORT + JVCLVER + "SourceOnly"
#elif JVCLRELEASE == MEDIUM
#define JVCLSETUPNAME JVCLNAMESHORT + JVCLVER + "SourceExamples"
#else
#define JVCLSETUPNAME JVCLNAMESHORT + JVCLVER + "FullWithJCL"
#endif
[Setup]
AppName=<$JVCLNAMELONG$>
AppVerName=<$JVCLNAMESHORT$> <$JVCLVER$>
DefaultGroupName=<$JVCLNAMELONG$>
AppPublisher=<$JVCLNAMELONG$>
AppPublisherURL=<$JVCLURL$>
AppVersion=<$JVCLNAMESHORT$> <$JVCLVER$>
AppID=<$JVCLAPPID$>
AppSupportURL=<$JVCLURL$>
AppUpdatesURL=<$JVCLURL$>
DefaultDirName={pf}<$JVCLDEFDIR$>
OutputBaseFilename=<$JVCLSETUPNAME$>
AllowNoIcons=true
DisableStartupPrompt=true
DisableProgramGroupPage=true
UsePreviousGroup=false
OutputDir=.
[_ISTool]
EnableISX=true
[Components]
Name: SOURCEFILES; Description: Source files; Flags: fixed; Types: custom compact full
Name: CONVERTERFILES; Description: Converter files; Types: custom full
#if JVCLRELEASE != SMALL
Name: EXAMPLESFILES; Description: Examples; Types: custom full
#endif
#if JVCLRELEASE == LARGE
Name: ARCHIVEFILES; Description: Archived files; Types: custom full
Name: DEVTOOLSFILES; Description: Developer tools; Types: custom full
#endif
Name: JVCLHELPFILES; Description: JVCL Help file; Types: custom compact full
Name: JCLFILES; Description: JCL files; Types: custom full
; Delphi 5 Packages =============================================================================================================
Name: d5; Description: Delphi 5 Packages; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc; Description: Build Packages; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvCore; Description: Install Core Package; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvSystem; Description: Install System Package; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvCtrls; Description: Install Visual Controls; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvStdCtrls; Description: Install Standard Controls; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvCmp; Description: Install Non-Visual Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvCustom; Description: Install Custom Controls; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvDlgs; Description: Install Dialog Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvCrypt; Description: Install Crypt and Compress Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvNet; Description: Install Networking Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvMM; Description: Install Multimedia Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvDB; Description: Install Database Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvBDE; Description: Install BDE Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvInterpreter; Description: Install Interpreter Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvPlugin; Description: Install Plugin Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvJans; Description: Install Jans Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvGlobus; Description: Install Globus Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvPrintPreview; Description: Install Print Preview Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvPageComps; Description: Install Page List Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvValidators; Description: Install Validator Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvUIB; Description: Install Unified InterBase Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvTimeFramework; Description: Install Time Framework Components; Types: custom compact full; Check: IsDelphiInstalled(5.0)
Name: d5\dcc\JvHMI; Description: Install HMI Components; Types: custom compact full; Check: IsDelphiInstalled(7.0)
Name: d5\dcc\JvWizard; Description: Install Wizard Components; Types: custom compact full; Check: IsDelphiInstalled(7.0)
; Delphi 6 Packages =============================================================================================================
Name: d6; Description: Delphi 6 Packages; Types: custom compact full
Name: d6\dcc; Description: Build Packages; Types: custom compact full
Name: d6\dcc\JvCore; Description: Install Core Package; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvSystem; Description: Install System Package; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvCtrls; Description: Install Visual Controls; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvStdCtrls; Description: Install Standard Controls; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvCmp; Description: Install Non-Visual Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvCustom; Description: Install Custom Controls; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvDlgs; Description: Install Dialog Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvCrypt; Description: Install Crypt and Compress Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvNet; Description: Install Networking Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvMM; Description: Install Multimedia Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvDB; Description: Install Database Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvBDE; Description: Install BDE Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvInterpreter; Description: Install Interpreter Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvPlugin; Description: Install Plugin Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvJans; Description: Install Jans Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvGlobus; Description: Install Globus Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvPrintPreview; Description: Install Print Preview Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvPageComps; Description: Install Page List Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvValidators; Description: Install Validator Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvUIB; Description: Install Unified InterBase Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvTimeFramework; Description: Install Time Framework Components; Types: custom compact full; Check: IsDelphiInstalled(6.0)
Name: d6\dcc\JvHMI; Description: Install HMI Components; Types: custom compact full; Check: IsDelphiInstalled(7.0)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -