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

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

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

To create a script:

Example scripts

Where responseFile.xml is the response file for the product package.


Example

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

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 OS X ./installc -acceptLicense ./installc input responseFile.xml -acceptLicense

Related tasks:
  • Modify a response file to install a package and Installation Manager Related reference:
  • Installation Manager command-line arguments for silent mode
    Home