Installing a fix pack using a response file (Windows)

Follow these instructions to perform a response file installation of a fix pack. A response file installation might also be referred to as a silent installation or an unattended installation. The setup command is used to install the fix pack.

Before you begin

  • Ensure that you meet all of the necessary tasks before installing a fix pack. Refer to Preparing to install a fix pack.
  • Ensure that you have the appropriate installation user accounts. In general, the user account must belong to the Administrators group on the machine where you will perform the installation.

Procedure

To install a fix pack using a response file:

  1. Change to the folder where the unzipped files are located.

    The setup command is located under the folder labelled with the abbreviated product name. For example, Db2 Enterprise Server Edition is under ESE.

  2. Ensure that all of the fix pack installation images were extracted to subdirectories under the same parent directory.

    If you have more than one Db2 database product installed, the Db2 Setup wizard detects the other installed products. The installation fails if all of the appropriate Db2 database products' extracted fix pack images are not in subdirectories under the same parent directory.

  3. Modify the sample response file db2fixpk.rsp to fit your environment.
  4. Install the fix pack using the setup command with the response file (-u) option.
    For example, enter:
    setup -u c:\db2fixpk.rsp -t c:\db2fixpk.trc -l c:\db2fixpk.log
    where db2fixpk.rsp is the response file name and -t and -l are optional parameters that specify a trace file and a log file, respectively. Sample response files can be found in the product-abbreviation\db2\Windows\samples directory in the fix pack installation image. For example, ESE\db2\windows\samples.

What to do next

To complete the installation, perform the necessary post-installation tasks for fix packs. Refer to Post-installation tasks for fix packs (Windows).