Install packages silently using the installer


Overview

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

To install product packages silently, first create a response file .

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.


To silently install packages

  1. cd InstallerImage_platform

  2. Run the installation command:

    Platform Administrator Nonadministrator Group
    Windows installc.exe
        input /path/to/respfile
        -log /path/to/logfile
        -acceptLicense
    userinstc.exe
        input /path/to/respfile
        -log /path/to/logfile
        -acceptLicense
    Not available.
    Other ./installc
        input /path/to/respfile
        -log /path/to/logfile
        -acceptLicense
    ./userinstc
        input /path/to/respfile
        -log /path/to/logfile
        -acceptLicense
    ./groupinstc
        -dataLocation appdata_loc
        input /path/to/respfile
        -log /path/to/logfile
        -acceptLicense

Group mode is not supported on IBM i.

Starting with version 1.4.3:

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

If you are installing on a GUI platform in group mode, include the -dataLocation option with the command.

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

When the 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. See Agent data location.


Example: Installation Manager 1.4.3 and later

OS 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.
Other ./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
/groupinstc
    -dataLocation /group_shared_home/appdata
    input /root/group_response/responsefile.xml
    -log /root/grouplog/group_install_log.xml
    -acceptLicense


Example: Installation Manager 1.4.2 and earlier

OS Administrator Nonadministrator Group
Windows installc.exe
    --launcher.ini silent-install.ini
    input c:\myresponse\responsefile.xml
    -log c:\mylog\silent_install_log.xml
userinstc.exe
    --launcher.ini user-silent-install.ini
    input c:\myresponse\responsefile.xml
    -log c:\mylog\silent_install_log.xml
Not available.
Linux/UNIX ./install
    --launcher.ini silent-install.ini
    input /root/myresponse/responsefile.xml
    -log /root/mylog/silent_install_log.xml
./userinst
    --launcher.ini user-silent-install.ini
    input /root/myresponse/responsefile.xml
    -log /root/mylog/silent_install_log.xml
./groupinstc
    -dataLocation /user_home/var/ibm/InstallationManager_Group
    input /root/group_response/responsefile.xml
    -log /root/grouplog/group_install_log.xml

Include quotation marks around filepaths that have spaces.

If you are installing on a GUI platform in group mode, include the -dataLocation option with the command.

For the version 1.4.2 commands, when the .ini file contains the -input argument and the input argument is also used in the command, the response file that the input argument specifies in the command is used. The response file that the -input argument specifies in the .ini file is ignored.

+

Search Tips   |   Advanced Search