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
- cd InstallerImage_platform
- Run the installation command:
Platform Administrator Nonadministrator Group Windows installc.exe
input /path/to/respfile
-log /path/to/logfile
-acceptLicenseuserinstc.exe
input /path/to/respfile
-log /path/to/logfile
-acceptLicenseNot 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
-acceptLicenseGroup mode is not supported on IBM i.
Starting with version 1.4.3:
- Use -acceptLicense in the command.
- Do not use --launcher.ini .ini file as this command option has been deprecated.
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
-acceptLicenseuserinstc.exe
input c:\myresponse\responsefile.xml
-log c:\mylog\silent_install_log.xml
-acceptLicenseNot 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.xmluserinstc.exe
--launcher.ini user-silent-install.ini
input c:\myresponse\responsefile.xml
-log c:\mylog\silent_install_log.xmlNot 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.xmlInclude 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.