You can create a response file by recording your actions
in Installation Manager.
When you record a response file, the selections that you make in Installation Manager are stored
in an XML file. When you run Installation Manager in silent
mode, Installation Manager uses
the data in the XML response file to install packages.
About this task
You cannot record a response file to install
Installation Manager. To install
both
Installation Manager and
an IBM product, you must modify a response file to add the commands
to install
Installation Manager.
Procedure
To record a response file:
- On a command line, change to the eclipse subdirectory.
See Installing as an administrator or nonadministrator for default installation directory locations.
- Run the command to record a response file for the IBM product
installation. This command uses the -skipInstall agentDataLocation argument.
This argument records the installation commands without installing
the IBM product. Substitute your own file name and location for the
response file. Verify that the file paths that you enter
exist. Installation Manager does
not create directories for the response file.
Note: Using
the -log option is not supported when recording a
response file.
- Windows: IBMIM.exe
-record responseFile -skipInstall agentDataLocation
- Linux and UNIX: ./IBMIM -record responseFile-skipInstall agentDataLocation
Examples:- Windows: IBMIM.exe
-record c:\response_files\install_product.xml -skipInstall c:\skipInstall\IBM_product
- Linux and UNIX: ./IBMIM -record /response_files/install_product.xml
-skipInstall skipInstall/IBM_product
The
-skipInstall argument
requires that the
agentDataLocationis a directory
that you can write to. Use the same
agentDataLocation in
the next recording session to record updates or modifications to the
IBM product. These changes are recorded in the
agentDataLocation directory.
Remember: Do not specify an existing
agentDataLocation directory
for the location for a new installation process. For information about
the agent data location, see
Agent data location.
Note: To record a response file and install the IBM
product at the same time, remove the argument -skipInstall agentDataLocation.
- Follow the on-screen instructions in the appropriate wizard.
If you copied the repository to a new location, you can set the location
of the repository in the repository table. To access the repository
table, click . The
text (Recording...) is displayed in the
Installation Manager title when you are recording a response file.
- Click Finish, then close Installation Manager to finish
the recording of the response file.
- If you are running Installation Manager as a nonadministrator
and plan to use the response file to install on another user's
computer, you must change the filepaths in your response file from
absolute paths to relative paths.
Results
An XML response file is created and saved in the location
that you specified in the command.