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\SHORTCF subdirectory.
package="IBM Multimedia Presentation Manager Toolkit/2"codepage=437 filelist="filelist.tk2" groupcount=2 munitcount=1 medianame="IBM Multimedia Presentation Manager Toolkit/2 Installation Diskette 1" sourcedir = "\\" = 4 sourcedir = "\\MCISTRNG\\" = 11 destindir = "\\MMOS2\\" = 0 destindir = "\\MMOS2\\INSTALL\\" = 4 destindir = "\\MMOS2\\MMTOOLKT\\SAMPLES\\MCISTRNG\\" = 11A larger and more complex example of installing multiple items using MINSTALL is located in the \TOOLKIT\SAMPLES\MM\CF subdirectory.
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 subsystem, 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.TK2" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³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 = 2 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³MUNITCOUNT ³This required keyword specifies the number ³ ³ ³of media units (diskettes, CDs) that will be³ ³ ³used if all features 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 = 1 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³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 ³ ³ ³destination directory and its encodings. ³ ³ ³This keyword can be repeated and can be ³ ³ ³NULL, in which case the default is the ³ ³ ³\MMOS2 subdirectory. The path must be ³ ³ ³surrounded by path separators and any ³ ³ ³directory that does not exist will be ³ ³ ³created. For example: ³ ³ ³DESTINDIR = "\\MMOS2\\" = 0 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Observe the following guidelines when you create or change a CONTROL.SCR header: