A package file refers to one or more compressed files in ZIP format. These files are used to associate the parameter settings script with the parameter settings definition and parameter information. Package files are decompressed on the server once they have been forwarded.
The package file to be associated with the parameter settings definition is known as the script package. The package file registered in the parameter information is known as the parameter package. The parameter settings scripts contained in each of these package files is different. An explanation is provided below:
Script package
Includes the startup script of the parameter settings script, and the file attachment. The startup script must be included.
Parameter package
Includes the file attachment of the parameter settings script.
Script package
A script package is a ZIP file that contains a startup script and a file attachment. This ZIP file must be stored using the structure shown below. Always store the startup script in the ZIP file root. The file attachment can contain a directory.
<ZIP file root> + <Startup script (startup.cmd or startup.sh)> + <File attachment>
Parameter package
A parameter package is a ZIP file that contains a file attachment. This ZIP file must be stored using the structure shown below. The file attachment can contain a directory.
<ZIP file root> + <File attachment>
Execution example of the parameter settings script
Script packages and parameter packages are forwarded to the server and decompressed on it. The environment variable settings script generated by this product is also forwarded and stored in the work directory on the server as described below - note that the directory in which the startup script is stored becomes the current directory, and the startup script is executed.
<work directory> + <software id> + scriptpkg | + Startup script (startup.cmd or startup.sh) | + Environment variable settings script (setenv.cmd, setenv.sh) | + File attachment in the script package + paramdata | + Parameter information XML file (parameterinfo.xml) for configured parameters + parampkg + Parameter package attachment
A description of each directory is shown below:
Software ID
Directory unique to each software product, with the name <software id>.
scriptpkg
Stores the startup script, the file attachment (both included in the script package) and the environment variable settings script.
paramdata
Stores the parameter information XML file (parameterinfo.xml) for configured parameters.
parampkg
Stores the file attachment included in the parameter package. When referring to this file in the startup script, use the relative path.
Note
Package files
Store the startup script in the ZIP file root, not in the directory, otherwise it cannot be executed.
Package files forwarded to the server are deleted once the script has been executed.