Install packages silently using the installer
Use the Installation Manager installer to silently install Installation Manager and other product packages.To install product packages silently, we must first install Installation Manager. Then, create a response file.
We can silently install Installation Manager and software packages at the same time. Optionally, we can install Installation Manager, and then use Installation Manager to install packages silently.
Procedure
To silently install packages:
- Open a command line, and change to the InstallerImage_platform directory.
- Run the installation command:
For information about silent installation command arguments, see Installation Manager command-line arguments for silent 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. UNIX ./installc input response_file -log log_file -acceptLicense ./userinstc input response_file -log log_file -acceptLicense Not supported.
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 we 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
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 OS X ./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.
Related tasks:
Uninstall Installation Manager silently Install Installation Manager using wizard mode Install Installation Manager using console mode Related information:
Installation Manager downloads
Home