Generate a response file using imcl commands

We can use imcl commands to generate response files from packages in a repository or from installed packages. We can use the genereateResponseFile option with a full product installation. This option cannot be used when updating from one version to another. The following options are common to both methods of generating a response file:

imcl help generateResponsefile
generateResponseFile  packageId[_Version]...
packageId[_Version]...
-connectPassportAdvantage
-installationDirectory  install directory -masterPasswordFile  masterPasswordFilePath
-output  response file -preferences  key=value[,key2=value2...]
-prompt
-repositories  repository[,repository2...]
-secureStorageFile  secureStorageFilePath
-useServiceRepository

Generate a response file suitable for use with the -input option.

When we use -repositories, the response file contains commands to install the packages from those repositories. Otherwise, it contains commands to install the set of currently installed packages.

When we use -installationDirectory, install commands are generated for only the packages installed in that directory. The -repositories option is not allowed in this case.

Examples:
generateResponseFile com.ibm.some.package.id -repositories http://example.com/repository
generateResponseFile -output response_file.xml
generateResponseFile -output response_file.xml -installationDirectory /opt/package

Generate a response file from packages in a repository

Procedure

Generate a response file from installed packages

Procedure


Home