Import packages silently using Installation Manager
Use Installation Manager in silent mode to import product packages from a command line.To install product packages silently, we must first create a response file. When we record the response file, we must select the Import option, see Import existing installed packages in Installation Manager.
For information about command-line arguments, see Installation Manager command-line arguments for silent mode.
Procedure
To run Installation Manager in silent mode:
- Open a command-line utility.
- Open the tools directory.
- Run the command for your operating system:
- Windows: imcl.exe input response_file_path_and_name -log log_file_path_and_name -acceptLicense
- Linux, UNIX, IBM i, and OS X: ./imcl input response_file_path_and_name -log log_file_path_and_name -acceptLicense
Enclose file paths that include spaces with double quotation marks.
Results
When the installation completes, a 0 status is returned. If the installation cannot complete, a non-zero number is returned.
Example
Operating system Command Windows imcl.exe input c:\response_files\install_product.xml -log c:\mylog\silent_install_log.xml -acceptLicense Linux, UNIX, IBM i, and OS X ./imcl input responseFile.xml -acceptLicense
Home