The header section of the CONTROL.SCR file contains the following information:
The following is an example of the CONTROL.SCR header located in the \TOOLKIT\SAMPLES\MM\CF subdirectory.
/* control.scr */ package ="IBM Multimedia Presentation Manager Toolkit/2" codepage =437 filelist ="filelist.tlk" groupcount=12 munitcount=6 medianame="IBM Multimedia Presentation Manager Toolkit/2 Installation Diskette 1" medianame="IBM Multimedia Presentation Manager Toolkit/2 Installation Diskette 2" . . . sourcedir="\\" = 0 sourcedir="\\lib\\" = 1 . . . destindir="\\mmos2\\" = 0 destindir="\\mmos2\\mmtoolkt\\lib\\" = 1 . . .
The following table describes the keywords used in the CONTROL.SCR header.
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Keyword ³Description ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³PACKAGE ³This required keyword specifies the name of ³ ³ ³the installation package in the form of a ³ ³ ³quoted string. For example: ³ ³ ³PACKAGE="IBM Multimedia Presentation Manager ³ ³ ³Toolkit/2" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³CODEPAGE ³This required keyword specifies the code page³ ³ ³that the file was created under. For ³ ³ ³example: ³ ³ ³CODEPAGE = 437 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³FILELIST ³This required keyword specifies the name of ³ ³ ³the file list control file. This control file³ ³ ³contains a list of files that make up each ³ ³ ³feature, identifies on which media units they³ ³ ³reside in the installation package, and ³ ³ ³specifies the destination to which they will ³ ³ ³be copied. For example: ³ ³ ³FILELIST = "FILELIST.TLK" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GROUPCOUNT ³This required keyword specifies the number of³ ³ ³subsystems in the installation package. All ³ ³ ³groups are counted, including group 0 (if ³ ³ ³present). For example: ³ ³ ³GROUPCOUNT = 10 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³MUNITCOUNT ³This required keyword specifies the number of³ ³ ³media units (diskettes, CDs) that will be ³ ³ ³used if all subsystems are installed. This ³ ³ ³number must be greater than 0. This is the ³ ³ ³number of diskettes or CDs on which the ³ ³ ³installation package resides. For example: ³ ³ ³MUNITCOUNT = 6 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³MEDIANAME ³This required keyword specifies a unique ³ ³ ³media name, which is a character string on ³ ³ ³the diskette or CD label. For each media ³ ³ ³unit, this keyword must be repeated once, in ³ ³ ³the form of a quoted string. This ³ ³ ³information is used during installation to ³ ³ ³prompt the user to insert a diskette or CD ³ ³ ³when needed. For example: ³ ³ ³MEDIANAME = "IBM Multimedia Presentation ³ ³ ³Manager Toolkit/2 Installation ³ ³ ³Diskette 1" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SOURCEDIR ³This optional keyword specifies the name of a³ ³ ³source directory and its associated number. ³ ³ ³This keyword can be repeated and is specified³ ³ ³by a quoted string followed by an equal sign ³ ³ ³(=) and a number. The number is used to ³ ³ ³identify the particular directory in later ³ ³ ³scripts. This can be NULL, in which case two³ ³ ³default backslash characters (\\) are used ³ ³ ³with an encoding of 0. The path must be ³ ³ ³surrounded by path separators. For example: ³ ³ ³SOURCEDIR="\\LIB\\" = 1 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³DESTINDIR ³This optional keyword specifies the name of a³ ³ ³destination directory and its associated ³ ³ ³number. This keyword can be repeated and is ³ ³ ³specified by a quoted string followed by an ³ ³ ³equal sign (=) and a number. The number is ³ ³ ³used to identify the particular directory in ³ ³ ³later scripts. This can be NULL, in which ³ ³ ³case two default backslash characters (\\) ³ ³ ³are used with an encoding of 0. The path ³ ³ ³must be surrounded by path separators (\\). ³ ³ ³For example: For example: ³ ³ ³DESTINDIR = "\\MMOS2\\" = 0 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Observe the following guidelines when you create or change a CONTROL.SCR header: