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

You can silently install IBM 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 Modify a response file to install a package and Installation Manager .

To silently install a product package, you must first create a response file .

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 for versions 1.4.3 and later:

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

Starting with version 1.4.3 do not use --launcher.ini .ini file as this command option has been deprecated.


Example

Include quotation marks around filepaths that have 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 and z/OS (C shell script file)

IBM i (Qshell script)

./installc -acceptLicense ./install input responseFile.xml -acceptLicense


See

  1. Install with UNC paths on Windows

Related tasks

Modify a response file to install a package and Installation Manager


+

Search Tips   |   Advanced Search