Using Installation Manager to silently install and update

Use Installation Manager to silently install Rational products from a command line.

About this task

For silent installations, the Installation Manager use the initialization, .ini, file: silent-install.ini. This file located in the InstallerImage_platform directory. This file includes default values for command-line arguments. For information about the command line arguments, see IBM Installation Manager command-line arguments.

For additional documentation about running Installation Manager in silent mode, see the Installation Manager Information Center under the Documentation link at: http://www.ibm.com/software/awdtools/installmanager/support/index.html.

Response files

For silent installs, you must use a response file.

About this task

You can download a sample response file, create a response file, or record a response file with Installation Manager. For information about creating a response file while installing, see Creating a response file with Installation Manager while installing. Recording a response file requires Installation Manager to be installed. Recording a response file does not require that the Rational product be installed. For information about recording a response file, see Recording a response file using Installation Manager without installing.
Note: Some versions of Rational ClearCase and Rational ClearQuest do not ship with a default response file.  For sample response files, seeSample response file: Installing a package.
If you use a sample response file, review and modify entries in the sample response file as appropriate for your environment. For example, the sample response file contains the entry:
<!-- Input repository for the installation image.  Multiple repositories can be specified by adding additional "repository" elements -->
<server>
	<repository location='http://myserver.domain/RationalProduct' />
</server>
The installation files that contain the repository are located on the machine. You modify the entry to:
<!-- Input repository for the installation image.  Multiple repositories can be specified by adding additional "repository" elements -->
<server>
	<repository location='C:/install_files/RationalProduct/disk1' />
</server>

For more information about repositories, see Setting Repository preferences

Silently installing a Rational product

Install a Rational product using a silent install.

Procedure

  1. Verify that you have a response file.
  2. On a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.
  3. Run the following command, substituting your own locations for the response file:
    • Windows®: IBMIMc.exe --launcher.ini silent-install.ini -input <response file path and name>
      Note:  On Windows, it is not supported to use the command IBMIM.exe for silent installs. Use IBMIMc.exe for silent installs. Use IBMIM.exe for installations that are not silent and when recording a response file. Do not use the command IBMIMc on Linux® and UNIX® systems.
    • Linux and UNIX systems: ./IBMIM --launcher.ini silent-install.ini -input <response file path and name>
    Examples
    • Windows: IBMIMc.exe --launcher.ini silent-install.ini -input c:\mylog\responsefile.xml
    • Linux and UNIX systems: ./IBMIM --launcher.ini silent-install.ini -input /root/mylog/responsefile.xml

Results

When Installation Manager runs in silent installation mode, it reads the response file. The result of this execution should be a status of 0 for success and a non-zero number for failure.

Searching for and silently installing all available products

You can silently search for and install updates for available products.

Procedure

To search for and silently install updates for available products:

  1. On a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.
  2. Run the following command, substituting your own locations for the response file:
    • Windows: IBMIMc.exe --launcher.ini silent-install.ini -installAll
      Note:  On Windows, it is not supported to use the command IBMIM.exe for silent installs. Use IBMIMc.exe for silent installs. Use IBMIM.exe for installations that are not silent and when recording a response file. Do not use the command IBMIMc on Linux and UNIX systems.
    • Linux and UNIX systems: ./IBMIM --launcher.ini silent-install.ini -installAll

Results

All connected repositories are searched, and all available products that are found are installed.

Silently installing updates to all currently installed products

You can silently search for and install updates for currently installed products.

Procedure

To search for and silently install updates for available products:

  1. On a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.
  2. Run the following command, substituting your own locations for the response file and, optionally, the log file:
    • Windows: IBMIMc.exe --launcher.ini silent-install.ini -updateAll
      Note:  On Windows, it is not supported to use the command IBMIM.exe for silent installs. Use IBMIMc.exe for silent installs. Use IBMIM.exe for installations that are not silent and when recording a response file. Do not use the command IBMIMc on Linux and UNIX systems.
    • Linux and UNIX systems: ./IBMIM --launcher.ini silent-install.ini -updateAll

Results

All available product updates known to Installation Manager are installed.

Feedback