Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference

[Contents][Glossary][Index][Back][Next]

Appendix E.2 Templates provided by JP1/Software Distribution

JP1/Software Distribution provides two AIT file templates for silent installation of software that supports Windows Installer. One template is for Microsoft Office Project 2003 and the other is for Microsoft Office 2003 Resource Kit. However, you can customize these templates for installing other software. The two provided templates define processing differently. When customizing either template, use whichever is more suitable for your customization.

Organization of this subsection
(1) Features of the templates
(2) Template definitions

(1) Features of the templates

Table E-1 lists the specifications of the two templates.

Table E-1 Two templates provided by JP1/Software Distribution

Definition item Template for Microsoft Office Project 2003 Template for Microsoft Office 2003 Resource Kit
Package name Microsoft Office Project Standard 2003 Microsoft Office 2003 Resource Kit
Version 2003 2003
Package ID MSOFFICE-2003-PROJECT-STANDARD MSOFFICE-2003-RESOURCE-KIT
Installer name PRJSTDE.MSI ORK.MSI
Template file name destination-directory\MASTER\DMAIT\TEMPLATE\OFFICE-2003\Office2003PrjStandard.ais destination-directory\MASTER\DMAIT\TEMPLATE\OFFICE-2003ORK\Office2003RKTOOLS.ais
Command line format MSIEXEC.EXE /qn /i PRJSTDE.MSI /Lime MSIEXEC.LOG TRANSFORMS=TransformList.mst REBOOT=R MSIEXEC.EXE /qn /i OSK.MSI
Defined processing
  • No installer windows are displayed.
  • A log file is created to contain messages about the status, memory insufficiency, and errors.
  • A transform is used.
  • No restart follows the installation.

  • No installer windows are displayed.
  • No log file is created.
  • No transform is used.
  • Restart after installation is not suppressed.

The template for Microsoft Office Project 2003 includes the definitions for installation with options and transforms specified. This template is suitable when you want to install software by specifying detailed settings.

The template for Microsoft Office 2003 Resource Kit defines a minimum set of options. This template is suitable when you want to install software with minimum customization and settings.

(2) Template definitions

The following describes the template definitions for each section, taking the template for Microsoft Office Project 2003 as an example.

(a) PACKAGE_INFO section

The PACKAGE_INFO section defines the package information and setup information for the software to be installed.

To change the software to be installed, modify this section.

The following gives an example of the PACKAGE_INFO section in the template for Microsoft Office Project 2003. A number on the left edge indicates the line number starting from the beginning of the template.

Figure E-2 PACKAGE_INFO section in the Microsoft Office Project 2003 template

[Figure]

(b) DEFINE section

The DEFINE section defines variables and constants such as transform file names, MSIEXEC command options, and property names of the software to be installed. To change such information, modify this section.

The following gives an example of the DEFINE section in the template for Microsoft Office Project 2003. A number on the left edge indicates the line number starting from the beginning of the template.

Figure E-3 DEFINE section in the Microsoft Office Project 2003 template

[Figure]

(c) MAIN section

The MAIN section defines the processing to be performed during installation. The defined processing includes a call to the MSIEXEC command of Windows Installer. To change the MSIEXEC command line, modify this section.

The following gives an example of the MAIN section in the template for Microsoft Office Project 2003. A number on the left edge indicates the line number starting from the beginning of the template.

Figure E-4 MAIN section in the Microsoft Office Project 2003 template

[Figure]

Note that in an AIT file, the MSIEXEC command must be called from the DMPWINIS command to acquire the execution results of the MSIEXEC command. When you create a new AIT file in particular, make sure that the MSIEXEC command line is specified as an argument of the DMPWINIS command.

The execution results of this script are returned as the maintenance code (and the user status in the maintenance code). For details about the execution results of the script, see E.7 Performing remote installation.