Record a response file with Installation Manager
Overview
You can create a response file by recording your actions in IBM 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.
Review the information in Before recording a response file . To record a response file, you must install Installation Manager. For information about the silent installation commands, see Installation Manager command-line arguments .
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.
Record a response file
- On a command line, change to the eclipse subdirectory.
- 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.
Using the -log option is not supported when recording a response file.
./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
Include quotation marks around filepaths that have spaces.
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 .
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 File > Preferences > Repositories. 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.
What to do next
Optional: Create a keyring file to store the credentials needed during installation to authenticate the repositories, proxies, and response files on protected servers. Keyring files are only necessary when your installation accesses servers that require authentication. If the servers do not require authentication, then you do not need to create a keyring file.