Upgrading in Silent Mode

To perform a silent, or unattended installation, run the installer and provide a response file that contains your preferred installation configuration.

  1. Create a response file during a console or GUI upgrade:
    setupConsole.exe -r response_file_for_upgrade
  2. If you are upgrading to Adaptive Server 15.7 SP100 from Adaptive Server 15.5 or later, set the following properties in the response file to true:
    PropertyDescription
    DO_UPDATE_INSTALL

    When you set DO_UPDATE_INSTALL to true, the installer reviews and updates the installed components in $SYBASE.

    DO_UPDATE_ASE_SERVER

    (Optional) When you set DO_UPDATE_ASE_SERVER to true, the installer installs (or reinstalls) system procedures, messages, scripts, and so on in the Adaptive Server instance.

    DO_UPDATE_ASE_SERVER is valid only if you set DO_UPDATE_INSTALL to true.

    The DO_UPDATE_ASE_SERVER property requires that you also set:
    • UPDATE_ASE_SERVER_NAME_[n]=Adaptive_Server_name_to_update
    • UPDATE_ASE_PASSWORD_[n]=Adaptive_Server_password -- If the Adaptive Server password is null, set this value to "NA".
    For example:
    DO_UPDATE_ASE_SERVER=true
    UPDATE_ASE_SERVER_NAME_1=SYBASE1
    UPDATE_ASE_PASSWORD_1=NA
    UPDATE_ASE_SERVER_NAME_2=SYBASE2
    UPDATE_ASE_PASSWORD_2=NA

    You also can set UPDATE_ASE_SERVER_NAME_[n] and UPDATE_ASE_PASSWORD_[n] property values through the UPDATE_ASE_SERVER_NAME_[n] and UPDATE_ASE_PASSWORD_[n] environment variables.

    If you choose to update the Adaptive Server instance manually after the installation, you need not set DO_UPDATE_ASE_SERVER.

    Note: Do not include the DO_UPDATE_INSTALL property in the response file if you are upgrading from a version of Adaptive Server earlier than 15.5, as this causes the installer to fail.
  3. Run:
    setup.exe –f response_file_for_upgrade -i silent 
    -DUSER_INSTALL_DIR=install_location -DAGREE_TO_SYBASE_LICENSE=true
    where:
    • response_file_for_upgrade – is the absolute path of the file name containing the upgrade options you chose.
    • install_location – is the directory in which you are upgrading Adaptive Server.
    Agree to the Sybase License Agreement when upgrading in silent mode using one of these methods:
    • Include the option -DAGREE_TO_SYBASE_LICENSE=true in the command line argument
    • Edit the response file to include the property AGREE_TO_SYBASE_LICENSE=true.

    Except for the absence of the GUI screens, all actions of InstallAnywhere are the same, and the result of an upgrade in silent mode is exactly the same as one done in GUI mode with the same responses.

    Warning!  SAP recommends that you use the setupConsole.exe executable, which runs in the foreground when you are running a silent installation. The normal setup.exe executable runs in the background, giving you the impression that the installation has terminated, and results in additional installation attempts using the silent installation. Multiple installations at the same time may corrupt the Windows Registry and lead to a failure to restart the operating system.
Related tasks
Installing Adaptive Server Using a Response File
Creating a Response File
Installing in Silent Mode