Installing the DS CLI using the unattended (silent) mode

Complete this task to install the DS CLI application using the unattended (silent) mode.

Consider the following before you perform the installation of the DS CLI application:
  • You cannot install the DS CLI on a computer that contains the ESS CLI.
  • You cannot install the DS CLI on a Windows 64-bit operating system.
  • You must have installed a version of Java 1.4.1 or higher on your system in a standard directory. The DS CLI installer checks the standard directories to determine if a version of Java 1.4.1 or higher exists on your system. If this version is not found in the standard directories, the installation fails. If the installation fails because the correct version of Java is not found, see Correcting the JVM-not-found error.

    The DS CLI installation CD-ROM contains the Java 1.4.2 version. You can install this version from the CD and continue with the installation of the DS CLI application.

  • If the DS CLI application was installed on your client/host machine in the past, ensure that you end any active sessions of the DS CLI before you run the DS CLI installation CD.
  • If you are installing onto a Novell system, you are directed to provide the following information:
    • The directory where your Windows drive is mapped.
    • The directory where the JAVA HOME is located.
  • If you are installing onto a System i system, ensure that the machine that you are installing from is network-attached to the iSeries machine.
  • During the installation of the DS CLI application onto an System i system, you must provide the following information:
    • The name of the iSeries machine to which you are installing the DS CLI application.
    • The user name and password that is used to access the designated iSeries machine.

The unattended (silent) mode of installation allows you to perform the installation from the command line without prompts or feedback. You can create an options/response file and use a text editor to change the default selections to a selection of your choosing.

Before you can use the DS CLI, some operating systems require that you restart your system after the installation is complete. Or, you might be required to open a new command prompt window to start a DS CLI session.
Note: After you install the new version of DS CLI, your old DS CLI sessions might be unusable.

Perform the following steps to install the DS CLI application using the unattended (silent) mode:

  1. Log on to your system as an administrator.
  2. Insert the DS CLI installation CD into the CD drive. If the InstallShield starts, click the Exit selection to exit.
  3. Type the following command for all systems except the System i system at the command prompt setup<platform>.<exe|bin|sh> -silent. Press the Enter key on your keyboard to start the installation process in unattended (silent) mode.
    The silent installation process applies all the default options to your installation. If you want to modify the default options, go to the next step.
    Note: Initially the DS CLI installer checks your standard directories for the correct version of Java. If the correct version of Java is not found, you receive the following message:
    A suitable JVM could not be found. Please run the program again using the
    option -is:javahome <JAVA HOME DIR>
  4. Generate the template response file if you must modify the defaults. Two example response files are provided in the cliReadmes directory of the CD: one for Windows, Novell, and iSeries installations, and one for all UNIX and Linux installations. You can copy the applicable response file to a directory of your choice.

    The following output is an example of the Windows, Novell, or iSeries response or options file.

    InstallShield Options File Template
    #
    # Wizard name: Install
    # Wizard source: setup.jar
    # Created on: Mon May 09 16:35:04 MST 2005
    # Created by: InstallShield Options File Generator
    #
    # This file can be used to create an options file (i.e., response file) for the
    # wizard "Install". Options files are used with "-options" on the command-line
    # to modify wizard settings.
    # 
    # The settings that can be specified for the wizard are listed below. To use
    # this template, follow these steps:
    # 
    #    1. Enable a setting below by removing leading '###' characters from the
    #    line (search for '###' to find settings you can change).
    # 
    #    2. Specify a value for a setting by replacing the characters '<value>'.
    #    Read each setting's documentation for information on how to specify its
    #    value.
    # 
    #    3. Save the changes to the file.
    # 
    #    4. To use the options file with the wizard, specify -options <file name>
    #    as a command-line argument to the wizard, where <file name> is the name
    #    of this options file.
    #
    ########################################################################
    
    ########################################################################
    #
    # License Agreement State
    #
    # The initial state of the License Agreement panel. Legal values are:
    # 
    #    0 - Nothing will be selected
    #    1 - "I accept the terms of the license agreement." will be selected
    #    2 - "I do not accept the terms of the license agreement." will be
    #        selected
    # 
    # For example, to configure the panel to initially display "I accept the
    # terms of the license agreement.", use
    # 
    # -W license.selection=2
    
     -W license.selection=1
    
    ########################################################################
    #
    # User Input Field - Win_Novell_select
    #
    # This field only has meaning if you are running the installer on Windows.
    # You must choose whether it should install the Windows CLI or the Novell
    # CLI.
    #
    # If you choose Novell, then make sure that the installLocation (see below)
    # is on a Novell drive.
    #
    #    1 - Novell Netware
    #    2 - Windows
    #   
     -W win_user_input.Win_Novell_select="2"
    
    ########################################################################
     IBM System Storage™ DS command-line Interface Install Location
    #
    # The install location of the product. Specify a valid directory into which the
    # product should be installed. If the directory contains spaces, enclose it in
    # double-quotes. For example, to install the product to C:\Program Files\My
    # Product, use
    # 
    ###    -P installLocation="C:\Program Files\My Product"
    #
     -P installLocation="C:\Program Files\IBM\dscli"
    
    ################################################################################
    #
    #  User Input Field - os400_java_location
    #
    #
    # This is only used on i5/OS iSeries system installations.
    #
    #
    ### -W os400_java_location_panel.os400_java_location="<value>"
    #
    #################################################################################
    #
    # User Input Field - novell_location_mapped
    #
    # This is only used on Novell installations.
    #
    ### -W novell_user_input.novell_location_mapped="<value>"
    #
    #################################################################################
    #
    # User Input Field - novel_java_location
    #
    # This is only used on Novell installations.
    #
    ### -W novell_user_input.novel_java_location="<value>"
    #
    #################################################################################
  5. Save the modifications to the response file.
  6. Type the following command for all systems (including UNIX and Linux) except the i5/OS iSeries system at the command prompt setup<platform>. <exe|bin|sh> -silent -options options.txt and press the Enter key on your keyboard to start the installation process in unattended (silent) mode.
  7. Type the following command if you are installing the DS CLI onto an i5/OS iSeries system setup<platform>. <exe|bin|sh> -os400 -silent -options options.txt and press the Enter key on your keyboard to start the installation process in unattended (silent) mode.
You can verify that the command-line interface has installed correctly by reviewing the CLI.CFG file in the lib/ subdirectory of the installation directory.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.