Using IBM Installation Manager in silent mode
Silent mode allows you to install packages in a non-interactive and non-GUI mode. It uses a response file to provide the input for each installation.
The key to silent mode installations, then, is to create the response files that guide each effort. Response files can be used to install, update, modify, roll back, and uninstall software packages.
Creating response files
A response file can be recorded using Installation Manager or created manually using a documented list of commands.
To use the Installation Manager GUI to record a response file for the installation of a package, use the -skipInstall argument from the command line. This argument makes Installation Manager simulate the package-installation process instead of actually installing anything, after which an XML response file can be recorded containing the steps from the simulation. The response file can then be used to automate the recorded installation process each time it is needed.
Based on this approach, start the GUI with the following options:
-skipInstall (indicates to skip the install)
-record (specifies the response file to be created)
Example below shows the command string to create a response file using the Installation Manager GUI on a Windows platform. Running these commands launches the GUI wizards where you select the appropriate repositories and packages, and then click Install to begin the simulation and recording. To finish generation of the recording, close the Installation Manager.
C:\IBM\InstallationManager\eclipse>IBMIM.exe -skipInstall "c:\temp" -record "c:\temp\myResponceFile.xml"
To manually create a response file, you can use a sample response file from WAS InfoCenter and customize it to suit your environment.
Important: You must record a response file on the same platform that you plan for the installation. For example, to install on a computer running Microsoft Windows, you must record the response file on a computer that runs Windows. If you plan installations for multiple platforms, you must have a response file for each platform.
Using response files
After you create a response file, you can use it to silently manage a package with Installation Manager.
To use a response file, start the installation from the command line, and use the input parameter to pass your response file, as shown below.
C:\IBM\InstallationManager\eclipse\tools>imcl.exe -acceptLicense -input C:\temp\myResponceFile.xml -log C:\temp\silentInstall.xml
Important: Silent installation cannot install packages that are contained on multiple media disks. Ensure that you are using a single repository location when you use silent mode.