Use an unattended installation

Use the following steps to duplicate an installation from one computer to another without being prompted for information.


  1. Either Use a response template file to create a Custom or Easy install, or run the installation wizard from a command line with a parameter to save a response file.
    For example:

    Windows: ca_srv_<platform>_<build>.exe -r “C:\ResponseFile\”.

    UNIX or Linux: ./ca_srv_<platform>_<build> -r “./ResponseFile/”

    Note: The directory, for example C:\ResponseFile, must exist before running the installation wizard.

    Applies to version 11.0.6 and subsequent versions unless specifically overridden You do not need to run a full install in order to create a response file. You can launch the install with the -r option and run it until the summary panel, then cancel out of the install. The response properties file will be created once the install exits.

  2. After the installation has completed, modify the response file as needed.

    The response file contains values that correspond to the values used when the install wizard was run to create the response file. The password entered during the installation is encrypted in the response file.

  3. On the computer where you plan to install the software, do one of the following:
    • Insert the appropriate product installation disk, and copy the contents of the disk to your computer.
    • Copy the product installation files you downloaded to your computer.
  4. In a command or terminal window, go to the operating system directory where you copied the installation files and type the following command:
    • On Windows, where location is the directory where you created or copied the response filename file:

      ca_srv_<platform>_<build> -f location\response_filename -i silent


      Launch the unattended install response file from a batch file. This makes the install process wait for the install to be completely finished before it returns. Also, add an %errorlevel% echo command at the end of your batch file to know the exit code of the install batch file entries. For example, install_location\ca_srv_win64_11.0.3.16051211.exe -i silent -f location\response_filename echo %errorlevel%

      If an error occurs during the install, the install's command prompt window may quickly display some important information. The exit code displayed by should be 0 (zero) for success. If the exit code is not 0, there are two options.
      1. View the installation log located under install_location\logs\IBM_Cognos_Analytics_Install_<timestamp>.log
      2. View an additional output log under the user's temp folder %TEMPDIR%\install_output_log_cognos_analytics.txt. This log file displays a list of possible exit codes and their descriptions. You can also search for the phrase Install Error: for additional details.
    • On UNIX or Linux®:

      ./ca_srv_<platform>_<build> -f location/response_filename -i silent

    • To install in a supported language, use the -l <lang_code> option.

      For example, to install in french and create a response file:

      Windows: ca_srv_<platform>_<build>.exe -l <lang_code> –r location\response_filename.

      UNIX or Linux: ./ca_srv_<platform>_<build> -l <lang_code> –r location/response_filename

      To use the response file and install in French, for example in Windows:

      c:\CAinstallkit\ca_srv_win64_11.0.3.16051211.exe -l fr -i silent -f c:\responselocation\ echo %errorlevel%

      Table 1. Supported language codes
      Code Language
      en English
      es Spanish
      fr French
      it Italian
      ja Japanese
      ko Korean
      pt_BR Portuguese Brazilian
      zh_CN Chinese simplified
      zh_TW Chinese traditional


If a return status other than zero (0) is returned, check the log files for error messages. Errors are recorded in the install_location\logs directory in a summary error log file. The filename format is tl-product_code-version-yyyymmdd-hhmm_summary-error.txt.

If errors occur before sufficient initialization occurs, log messages are sent to a log file in the Temp directory. The filename format is tl-product_code-version-yyyymmdd-hhmm.txt.

After all errors are resolved, you can set up an unattended configuration.