Contents Index Creating a silent install SMS Installation

ASA Programming Guide
  Deploying Databases and Applications
    Using a silent installation for deployment

Running a silent install


Your own installation program must call the Adaptive Server Anywhere silent install using the -s option. This section describes how to use a silent install.

To use a silent install

  1. Add the command to invoke the Adaptive Server Anywhere silent install to your installation procedure.

    If the response file is present in the install image directory, you can run the silent install by entering the following command from the directory containing the install image:

    setup -s

    If the response file is located elsewhere you must specify the response file location using the -f1 option. There must be no space between f1 and the quotation mark in the following command line.

    setup -s -f1"c:\winnt\setup.iss"

    To invoke the install from another InstallShield script you could use the following:

    DoInstall( "ASA_install_image_path\SETUP.INS",
       "-s", WAIT );

    You can use options to override the choices of paths for both the Adaptive Server Anywhere directory and the shared directory:

    setup TARGET_DIR=dirname SHARED_DIR=shared_dir -s

    The TARGET_DIR and SHARED_DIR arguments must precede all other options.

  2. Check whether the target computer needs to reboot.

    Setup creates a file named silent.log in the target directory. This file contains a single section called ResponseResult containing the following line:

    Reboot=value

    This line indicates whether the target computer needs to be rebooted to complete the installation, and has a value of 0 or 1, with the following meanings.

  3. Check that the setup completed properly.

    Setup creates a file named setup.log in the directory containing the response file. The log file contains a report on the silent install. The last section of this file is called ResponseResult, and contains the following line:

    ResultCode=value

    This line indicates whether the installation was successful. A non-zero ResultCode indicates an error occurred during installation. For a description of the error codes, see your InstallShield documentation.


Contents Index Creating a silent install SMS Installation