18.2.1 PACKAGE_INFO
The PACKAGE_INFO section contains the package information on the software you want to distribute, and information necessary to set up the software.
The following explains the items you can specify in this section.
- Organization of this subsection
(1) Format
You can specify only the following items:
PackageID = "package-ID"; Product = "product"; Version = "version"; InstallerName = "installer-name"; InstallDrive = "installation-drive"; InstallDirectory = "installation-directory"; IconGroupName = "icon-group-name"; SerialNumber = "serial-number"; JUser = "user-name"; JCompany = "company-name"; ScriptFileVersion = "AIT-file-version";
(2) Items to be described
The following table describes the items you can specify in the PACKAGE_INFO section. You cannot use such characters having special meanings as \n, \r, and \t.
Item |
Description |
Type |
---|---|---|
PackageID |
Specify the package ID with a value from 1 to 44 bytes. You can use upper-case letters, numbers, hyphens (-), and underscores (_). |
Required |
Product |
Specify the package name with a value from 1 to 50 bytes. You cannot use \. |
Required |
Version |
Specify the version or revision of the software with a value from 1 to 6 bytes. You can use upper-case letters, numbers, and a slash (/). |
Required |
InstallerName |
Specify the name of the installer to be used to install the software with a value from 1 to 256 bytes. You cannot use the following characters: * " : | < > ? |
Required |
InstallDrive |
Specify the drive in which to install the software by using two characters: an alphanumeric character and a colon (:) |
Required |
InstallDirectory |
Specify the path name of the directory in which to install the software. Specify the path name with a value from 1 to 128 bytes. The name must start with a backslash (\). |
Required |
IconGroupName |
Specify the icon group of the software with a value from 1 to 40 bytes. |
Optional |
SerialNumber |
Specify the serial number of the software to be installed with a value from 1 to 64 bytes. For software which requires the CD key for its installation, enter the CD key. |
Optional |
JUser |
Specify a value from 1 to 40 bytes for the software owner name. |
Optional |
JCompany |
Specify a value from 1 to 80 bytes for the company name of the software owner. |
Optional |
ScriptFileVersion |
Specify the AIT file version in the n.n.n.n format using numeric characters. You cannot specify a series of dots (.). You must specify all four n values delimited by a dot (.). If the fourth n is not specified, it is assumed to be 0. For example, 1.0.0. is assumed to be 1.0.0.0. This information prevents the Automatic Installation Tool from executing an AIT file created by an old engine of an earlier version of the Automatic Installation Tool. If the version of the AIT file is not specified in the PACKAGE_INFO section, the DLL version of the active engine is acquired as the AIT file version. |
Optional |
(3) Example of coding
PACKAGE_INFO { PackageID = "D"; Version = "1"; Product = "product"; InstallerName = "installer-name"; InstallDrive = "D:"; InstallDirectory = "\Plan14.1"; JUser = "package-user"; JCompany = "package-user-company"; SerialNumber = "package-serial-number"; IconGroupName= "icon-group-name"; ScriptFileVersion = "1.0.0.0"; }