Creating a script to silently install Installation Manager and a package at the same time

You can silently install Installation Manager at the same time you install a product package. To silently install Installation Manager and a product package, you can create a script to run both installations. You can also edit a response file to install Installation Manager and a product instead of using a script. See Modifying a response file to install a package and Installation Manager.

Before you begin

About this task

The script to install Installation Manager and a product package contains two lines. The first line is the command to start the Installation Manager installation. The second line is the command to start the silent installation of a product package.

Procedure

The following steps describe how to create a script:

Example scripts
  • A .bat file for Microsoft Windows:
    installc
    installc input responseFile.xml -acceptLicense
  • A shell script file for Linux®, UNIX, IBM i, IBM z/OS®, and the OS X operating system:
    ./installc
    ./installc input responseFile.xml -acceptLicense
Where responseFile.xml is the response file for the product package.

Example

Use double quotation marks to enclose file paths that include spaces.

Table 1. Installation scripts by operating system
Operating system Script (without response file) Script (with response file)
Windows (.bat file) installc.exe -acceptLicense installc.exe input responseFile.xml -acceptLicense
Linux, UNIX, IBM i, z/OS, and the OS X operating system ./installc -acceptLicense ./installc input responseFile.xml -acceptLicense