Install a package silently using a response file

Use a response file to install a package.

We must create a response file, see Record a response file with Installation Manager or Create a response file manually.

For information about command-line arguments, see Installation Manager command-line arguments for silent mode.

Procedure

To install a package in silent mode:

  1. Open a command-line utility.

  2. Open the tools directory.

  3. Run the command:

    • Windows: imcl.exe input response_file -log log_file
    • UNIX: ./imcl input response_file -log log_file


Results

When the installation is complete, a status of 0 is returned. If the installation cannot be completed, a non-zero number is returned.

A log file for Installation Manager is available. See Agent data location for the default location of the log directory.


Example

Operating system Command
Windows imcl.exe input c:\response_files\install.xml -log c:\mylog\install_log.xml -acceptLicense
Linux, UNIX, IBM i, z/OS, and OS X ./imcl input /response_files/install.xml -log /mylog/install_log.xml -acceptLicense

Enclose file paths that include spaces with double quotation marks.


Home