13.18.19 SYSTEM_CONDITIONS (specifying a system condition)
In the SYSTEM_CONDITIONS tag, specify the installation-target directory for remote installation and the computer system condition to be a precondition for installation. This tag is used for the dcmpack command.
The following table shows the parameters that can be specified, and their corresponding command arguments:
Parameter |
Content |
Command argument |
---|---|---|
Installation-target directory |
/D installation-target-directory |
|
System condition |
/O system-condition |
- Organization of this subsection
(1) Format
SYSTEM_CONDITIONS{ directory=installation-target-directory condition=system-condition }
(2) Description
-
directory=installation-target-directory
Specify the path name of the installation-target directory. You cannot specify a path name that includes a double quotation mark ("). The following shows an example of specification:
directory=C:\temp\data
When this parameter is omitted, specification of the path name of the packaging base directory (the directory set in the base_fullpath parameter of the PACKAGING_SOURCE tag or in the command argument /B) is assumed.
-
condition=system-condition
Specify the system condition of the distribution-destination computer. Items (3) and (4) below describe how to specify different system conditions.
(3) When setting the free space of the hard disk as the condition
The following describes how to specify the system condition when setting a size of free space of the hard disk as the condition.
- condition= H:drive-name equal-sign size
-
- drive-name
-
Specify a single-byte alphanumeric character that indicates a drive.
- equal-sign
-
Specify >=.
- size
-
Specify a value in the range from 0 to 32,767 in megabytes.
- Example of specification
-
The following shows specification of the condition when the drive C has a free space of 1 gigabytes or more.
condition=H:C>= 1024
(4) When setting a real memory size as the condition
The following describes how to specify the system condition when setting a real memory size as the condition.
- condition=size-type equal-sign size
-
- size-type
-
R: Real memory size
- equal-sign
-
Specify a sign that matches the condition among =, >, >=, <, and <=.
- size
-
Specify a size in megabytes.
- Example of specification
-
The following shows specification of the condition when the real memory size is 16 gigabytes or more:
condition=R>=16
(5) When setting a version of the OS as the condition
The following describes how to specify the system condition when setting a version of the OS as the condition.
- condition= O equal-sign OS
-
- equal-sign
-
Specify a sign that matches the condition among =, >, >=, <, and <=.
- OS
-
Specify a value that matches the condition among Windows8.1, Windows8, WindowsServer2012, WindowsServer2012R2, Windows7, WindowsServer2008, WindowsServer2008R2, WindowsVista, WindowsServer2003, WindowsXP, and Any. Any means any Windows OS.
- Example of specification
-
The following shows specification of the condition when the OS is Windows 7:
condition=O=Windows7
(6) Notes
-
You can specify multiple system conditions. When multiple conditions are specified, the conditions are connected by logical AND. The package is installed when all the conditions are met.
-
When using a command argument (/O) to specify a system condition, you can add system conditions until the total number of system conditions and package conditions (specified by /l) reaches 10.