Installing packages silently by using the installer

Use the Installation Manager installer to silently install Installation Manager and other product packages.

Before you begin

To install product packages silently, you must first install Installation Manager. Then, create a response file.

About this task

You can silently install Installation Manager and software packages at the same time. Optionally, you can install Installation Manager, and then use Installation Manager to install packages silently.

Procedure

The following steps describe how to silently install packages:

  1. Open a command line, and change to the InstallerImage_platform directory.
  2. Run the installation command:
    Table 1. Installation commands by operating system and mode
    Platform Administrator Nonadministrator Group
    Windows installc.exe input response_file -log log_file -acceptLicense userinstc.exe input response_file -log log_file -acceptLicense Not available.
    Linux®, UNIX, IBM i, IBM z/OS®, and the OS X operating system ./installc input response_file -log log_file -acceptLicense ./userinstc input response_file -log log_file -acceptLicense Not supported.
    For more information about silent installation command arguments, see Installation Manager command-line arguments for silent mode.

Results

When the installation is complete, a status of 0 is returned. If the installation cannot be completed, a nonzero number is returned.
When the Installation Manager installer is run, it reads the response file and (optionally) writes to a log file in the specified directory. If you specify a log file and directory, the log file contains no entries if installation was completed. The log file contains an error entry when the operation was not completed. An example of a log file for a completed installation:
<?xml version="1.0" encoding="UTF-8"?>
<result>
</result>

A log file for Installation Manager is also available. For the default location of the log directory, see Agent data location.

Example

Table 2. Examples of installation commands by operating system and mode
Operating system Administrator Nonadministrator Group
Windows installc.exe input c:\myresponse\responsefile.xml -log c:\mylog\silent_install_log.xml -acceptLicense userinstc.exe input c:\myresponse\responsefile.xml -log c:\mylog\silent_install_log.xml -acceptLicense Not available.
Linux, UNIX, IBM i, z/OS, and the OS X operating system ./installc input /root/myresponse/responsefile.xml -log /root/mylog/silent_install_log.xml -acceptLicense ./userinstc input /root/myresponse/responsefile.xml -log /root/mylog/silent_install_log.xml -acceptLicense Not supported.

Enclose file paths that include spaces with double quotation marks.