Recording a text-based interactive installation

You can record your text-based interactive installation for future reference.

Before you begin

You must use IBM Installation Manager to perform a recorded installation. If you have not already done so, download the IBM Installation Manager now.

If you are upgrading from a previous release, stop any running instances of the previous installation.

Close all open programs and any command prompt windows.

Procedure

  1. To record a silent, text-based installation, open a command prompt window and issue the following command line.
    • Navigate to the \IBM\Installation Manager\eclipse\tools folder.

      For installation in the English language, enter imcl.exe -c -record response.xml -skipInstall <IM_data_dir>...where response.xml is the silent installation file to be generated and <IM_data_dir> is the directory generated for the Installation Manager to write and store data into.

      For example:

      imcl.exe -c -record response.xml -skipInstall C:\SterlingInstallData

      For installation in another, supported language, enter: imcl.exe -c -record response.xml -skipInstall <IM_data_dir> -nl <locale_code>

      For example:

      imcl.exe -c -record response.xml -skipInstall C:\SterlingInstallData -nl zh_CN

    • Navigate to the /IBM/Installation Manager/eclipse/tools folder.

      For installation in the English language, enter: ./imcl -c -record response.xml -skipInstall <IM_data_dir>...where response.xml is the silent installation file to be generated and <IM_data_dir> is the directory generated for the Installation Manager to write and store data into.

      For example:

      ./imcl -c -record response.xml -skipInstall $HOME/SterlingInstallData

      For installation in another, supported language, enter: ./imcl -c -record response.xml -skipInstall <IM_data_dir> -nl <locale_code>

      For example:

      ./imcl -c -record response.xml -skipInstall $HOME/SterlingInstallData -nl zh_CN

  2. Follow the prompt to select Installation and press Enter.
  3. Select the packages to install and press Enter.
  4. Select the current version for installation and press Enter.
  5. Press Enter on the confirmation screen to move to the next screen.
  6. Accept the license agreements and press Enter.
  7. Choose a location for the Shared Resources directory. The default is IBM\SDPShared. To choose a different directory, type M and press Enter. Type the path and directory name and press Enter.
  8. Press Enter on the confirmation screen to move to the next screen.
  9. Choose an installation location. The default is the IBM® directory. If you select a directory that already exists, an error message is displayed. To choose a different directory, type M and press Enter. Type the path and name of the new directory and press Enter.
  10. Press Enter on the confirmation screen to move to the next screen.
  11. Select the languages for which you want to install the IBM Sterling Order ManagementIBM Sterling Configure, Price, Quote language pack translations. Make a selection and press Enter. After you have selected one option, the prompt is displayed again. You can either choose another option (2, 3, or 4) or press Enter to accept the default (N) and continue to the next step.
    Note: By default, the English language is selected.
  12. Select the features to install:
    • 1. Product Files - selected by default.
    • 2. Enable Upgrade - select if you are upgrading from a previous release or if you are doing a new installation, but want to apply DDL manually after installation. Upgrades can be done only in the same deployment model.
    • 3. Install Reference Implementation - this option is supported only for nonsharded environments.
    Make a selection and press Enter. After you have selected one option, the prompt is displayed again. You can either choose another option (2 or 3) or press Enter to accept the default (N) and continue to the next step.
  13. Enter the path and name for the JDK home directory and press Enter. This pathname should have no spaces.
  14. Choose whether to have the installer create a copy of the JDK folders under your installation directory. The default is Yes (create the copy). Press Enter to accept the default and continue. If you do not want a copy of the JDK made, type N and press Enter.
  15. Type the option number for the database vendor, DB2® or Oracle, and press Enter.
  16. Enter the information for the remaining database fields:
    • Database user name
    • Database password (note that the password is displayed in clear text)
    • Database catalog name
    • Database host name (or IP address)
    • Database port number
    • Database schema name
      Note: The default schema names are always the same as the user name, except that the schema names are all uppercase.
    • Enter the location and name of the JDBC driver file for Oracle or DB2. Type A to add the license file for DB2 (required). After adding the license file and the prompt is displayed again, type D (done).
    To validate the database connection for each shard, type Y (validate the connection), or N (do not attempt to connect). If a message saying the connection failed is displayed, verify the information you entered in all fields and try validating again.
  17. If using DB2, choose whether to enable database multibyte support (Y or N) and press Enter.
  18. Enter the ADDITIONAL_ANT_JAVA_TASK_ARGS memory parameter settings for your operating system and press Enter.
  19. Enter the ADDITIONAL_ANT_COMPILER_TASK_ARGS memory parameter settings for your operating system and press Enter. Press Enter again to confirm your choices.
  20. Type G (Generate an Installation response file) to have an XML file that contains the install prompts and your responses created.
  21. When prompted, type the location and name for the file and press Enter. Use "xml" as the file extension.
  22. Once a message saying that the file was successfully created is displayed, press Enter. The previous screen is displayed again, with the same options. This time, type I (Install) to start the installation. A progress bar is displayed at the bottom of the screen.
  23. When the installation is complete, a status screen is displayed.
  24. You now have a response.xml file from which you can run a silent installation.