Update a package silently using a response file
Use a response file to update a package.We must create a response file, see Record a response file with Installation Manager or Create a response file manually.
For information about command-line arguments, see Installation Manager command-line arguments for silent mode.
To update Installation Manager silently, we must modify a response file to install a later version. For more information, see Modify a response file to install a package and Installation Manager.
Procedure
To update a package in silent mode:
- Open a command-line utility.
- Open the tools directory.
- Run the command:
- Windows: imcl.exe input response_file -log log_file
- UNIX: ./imcl input response_file -log log_file
Results
When the update is complete, a status of 0 is returned. If the update cannot be completed, a non-zero number is returned.A log file for Installation Manager is available. For the default location of the log directory, see Agent data location.
Example
Operating system Command Windows imcl.exe input c:\response_files\update.xml -log c:\mylog\update_log.xml -acceptLicense Linux, UNIX, IBM i, z/OS, and OS X ./imcl input /response_files/update.xml -log /mylog/update_log.xml -acceptLicense Enclose file paths that include spaces with double quotation marks.
Home