The subsystem definition section of the CONTROL.SCR file follows the header section and contains the definitions for all the installable items in the installation package. A block of information must be included for each subsystem.
The subsystem definition section contains the following information:
The following is an example of a CONTROL.SCR subsystem definition.
ssgroup=0 /* base group */sssize=41 ssname="mmbase" ssversion="1.0.9" ssinich="TLKBASE.SCR" /* - 11 = mcistrng */ ssgroup=11 ssname="Media Control Interface String Test" ssversion="1.0.9" sssize=200 ssinich="TLKSTRN.SCR" ssicon="mcistrng.ico"
The CONTROL.SCR subsystem definition consists of the following keywords.
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Keyword ³Description ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSGROUP ³This required keyword specifies the ³ ³ ³group or item number. This marks the ³ ³ ³beginning of a group for this item and ³ ³ ³assigns it a number. Each item must have³ ³ ³a unique number from 0-49 within the ³ ³ ³package; however, the same number can be³ ³ ³used with different installation ³ ³ ³packages. The groups are displayed in ³ ³ ³the installation main selection window ³ ³ ³in ascending order by group number. For³ ³ ³example: ³ ³ ³SSGROUP = 11 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSNAME ³This required keyword specifies the item³ ³ ³name, which names the current group as ³ ³ ³an ASCII string. This keyword is case ³ ³ ³sensitive and takes the form of a quoted³ ³ ³string. The name may include special ³ ³ ³characters and may be translated. The ³ ³ ³name is displayed in the main ³ ³ ³installation selection window. For ³ ³ ³example: ³ ³ ³SSNAME = "CD Audio" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSVERSION ³This required keyword specifies the ³ ³ ³version of the component in the form of ³ ³ ³a quoted string. This string must be in³ ³ ³the format "dd.dd.dd" (where dd ³ ³ ³represents digits). Any version not ³ ³ ³specified in this format will be ³ ³ ³converted to that format. All string ³ ³ ³items that are not digits or periods ³ ³ ³will be converted to zeros. Any periods ³ ³ ³after the second period will be ³ ³ ³converted to zeros. For example: ³ ³ ³SSVERSION = "1.1.0" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSSIZE ³This required keyword specifies the ³ ³ ³total size of all the files in the item.³ ³ ³The size denotes the number of bytes in ³ ³ ³thousands (500 = 500KB). This number is³ ³ ³used to help determine if there is ³ ³ ³enough disk space to support the ³ ³ ³installation. If you do not know the ³ ³ ³correct size of a item, overstate its ³ ³ ³size. For example: ³ ³ ³SSSIZE = 1024 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSINICH ³This optional keyword specifies the name³ ³ ³of the file that contains the changes to³ ³ ³the MMPM2.INI file. If this statement ³ ³ ³is missing, there are no changes to the ³ ³ ³MMPM2.INI file. For example: ³ ³ ³SSINICH = "ACPAINI.CH" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSCONFIGCH ³This optional keyword specifies the name³ ³ ³of the file that contains the changes to³ ³ ³the CONFIG.SYS file. If this statement ³ ³ ³is missing, there are no changes to the ³ ³ ³CONFIG.SYS file. For example: ³ ³ ³SSCONFIGCH = "ACPACON.CH" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSCOREQS ³This optional keyword specifies a list ³ ³ ³of corequisites needed for this item to ³ ³ ³run. It also specifies what other ³ ³ ³components the current components depend³ ³ ³on. These other components must be ³ ³ ³installed for the current component to ³ ³ ³function. (If this statement is ³ ³ ³missing, there are no corequisites.) ³ ³ ³The corequisite is identified by its ³ ³ ³group number. Corequisite groups should ³ ³ ³point to each other only if they require³ ³ ³each other. It is possible to have ³ ³ ³subsystem A list subsystem B as a ³ ³ ³corequisite and subsystem B have no ³ ³ ³corequisites. If the user selects a ³ ³ ³subsystem with a corequisite, but does ³ ³ ³not select all corequisites, the user is³ ³ ³notified before the installation starts.³ ³ ³This entry can be repeated as necessary.³ ³ ³For example: ³ ³ ³SSCOREQS = 1 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSICON ³This optional keyword names the icon ³ ³ ³file for this component that is to be ³ ³ ³displayed in the main installation ³ ³ ³selection window. The icon file to be ³ ³ ³displayed in the selection window must ³ ³ ³reside on the first installation media ³ ³ ³unit. If this statement is missing, a ³ ³ ³default icon is used. For example: ³ ³ ³SSICON = "ACPA.ICO" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSDLL ³This optional keyword names a DLL file ³ ³ ³that is to be run during the ³ ³ ³installation process. The DLL ³ ³ ³referenced will be run after all files ³ ³ ³are copied to the destination, but ³ ³ ³before any script processing is ³ ³ ³performed. If this keyword is present, ³ ³ ³the SSDLLENTRY keyword must also be ³ ³ ³present. For example: ³ ³ ³SSDLL="MY.DLL" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSDLLENTRY ³This optional keyword specifies the name³ ³ ³of the entry point into SSDLL in the ³ ³ ³form of a quoted string. If this ³ ³ ³keyword is present, the SSDLL keyword ³ ³ ³must also be present. For example: ³ ³ ³SSDLLENTRY="MyEntry" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSTERMDLL ³This optional keyword names a DLL file ³ ³ ³that is to be run during the ³ ³ ³installation process. The DLL ³ ³ ³referenced will be run after all files ³ ³ ³are copied to the destination and after ³ ³ ³all script processing is done. The ³ ³ ³purpose of this keyword is to allow for ³ ³ ³processing to occur on a fully ³ ³ ³configured multimedia system. If this ³ ³ ³keyword is present, the SSTERMDLLENTRY ³ ³ ³keyword must also be present. For ³ ³ ³example: ³ ³ ³SSTERMDLL="MYTERM.DLL" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSTERMDLLENTRY ³This optional keyword specifies the name³ ³ ³of the entry point into SSTERMDLL in the³ ³ ³form of a quoted string. If this ³ ³ ³keyword is present, the SSTERMDLL ³ ³ ³keyword must also be present. For ³ ³ ³example: ³ ³ ³SSTERMDLLENTRY="MyTermEntry" ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³SSSELECT ³This optional keyword determines the ³ ³ ³preselection of items for installation. ³ ³ ³Five values are supported: ³ ³ ³"ALWAYS" - This value specifies that the³ ³ ³group will always be installed. It is ³ ³ ³the only valid value for Group 0. ³ ³ ³Groups with this value will not be ³ ³ ³displayed in the installation selection ³ ³ ³window. This is the default. ³ ³ ³"REQUIRED" - This value specifies that ³ ³ ³the group will be preselected for ³ ³ ³installation. If the group had been ³ ³ ³previously installed, it cannot be ³ ³ ³unselected by the user if this ³ ³ ³installation package is newer than the ³ ³ ³installed version. If the group has not³ ³ ³been previously installed, it can be ³ ³ ³unselected by the user. ³ ³ ³"VERSION" - This value specifies that ³ ³ ³the group will be preselected only if it³ ³ ³was previously installed and this ³ ³ ³installation package is newer than the ³ ³ ³installed version. However, it can be ³ ³ ³unselected by the user. ³ ³ ³"YES" - This value specifies that the ³ ³ ³group will be preselected whether or not³ ³ ³it was previously installed. It can be ³ ³ ³unselected by the user. ³ ³ ³"NO" - This value specifies that the ³ ³ ³group is never preselected but can be ³ ³ ³selected by the user. ³ ³ ³"BASENEWER" - This value specifies that ³ ³ ³files belonging to this group will only ³ ³ ³be copied if the user's machine has no ³ ³ ³package installed or if the package ³ ³ ³installed is older than the current ³ ³ ³package. ³ ³ ³"ONLYNEWER" - This value specifies that ³ ³ ³a user will not be able to to install an³ ³ ³older version of a package on top of a ³ ³ ³newer version. Files belonging to this ³ ³ ³group will only be copied if the user ³ ³ ³has an older version (or the same ³ ³ ³version) installed. If no version is ³ ³ ³installed or if the version installed is³ ³ ³higher than the one in the package, no ³ ³ ³files will be copied. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Observe the following guidelines when you create or change a CONTROL.SCR subsystem definition: