Creating a response file with Installation Manager

You can create a response file by recording your actions as you install a product package by using Installation Manager, or the Installation Manager installer. When you record a response file, all of the selections that you make in the Installation Manager GUI are stored in an XML file. When you run Installation Manager in silent mode, Installation Manager uses the XML response file to locate the repository that contains the package, select the features to install, and so on.

About this task

To record a response file for installation (or uninstallation), complete the following steps:

Procedure

  1. On a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager. For example:
    • For Windows: cd C:\Program Files\IBM\Installation Manager\eclipse
    • For other platforms: cd /opt/IBM/InstallationManager/eclipse
  2. On a command line, type the following command to start Installation Manager, substituting your own file name and location for the response file and (optionally) the log file:
    • IBMIM –record <response file and path name> -log <log file and path name>. For example, IBMIM.exe –record c:\mylog\responsefile.xml -log c:\mylog\record_log.xml
    • You can record a response file without installing or uninstalling a product by adding the optional -skipInstall <agentDataLocation>. Note that <agentDataLocation> must be a writable directory. The argument causes Installation Manager to save the installation data without installing the product. You can use the same <agentDataLocation> in the next recording session to record updates or modifications to the product, or to record license management. Note that the products installed or preferences, including repository settings, that you may have set on install when not using the -skipInstall argument are not be stored. Using -skipInstall will make installation faster because the IM is not installing the product, it is just recording the installation data.

      The syntax for using the skipInstall argument is: IBMIM -record <response file and path name> -skipInstall <a writable directory for agent data location>. For example IBMIM -record c:\mylog\responsefile.xml -skipInstall c:\temp\recordData

      Note: Ensure the file paths you enter exist; Installation Manager will not create directories for the response file and the log file.
  3. Follow the on-screen instructions in the Install wizard to make your installation choices.
  4. Click Finish, then close Installation Manager.

Results

An XML response file is created and resides in the location specified in the command.

Feedback