Configuring and running the silent installer

The silent installer is a Java program. The installation CD contains a sample batch file to run the installation with the correct JRE and CLASSPATH settings. An additional text file specifies the installation type and options. These instructions assume that you will include the EAServer installation files and customized installer scripts with the installation media for your own software.

Steps Configuring the silent installer

  1. Create a directory for your install image.

  2. Copy the following files from the EAServer installation CD to your install image:

    • EAS520.jar.

    • readme.htm (optional; if you are installing the HTML documentation, this file contains additional documentation).

    • libjinstaller.so.

    • The JRE_1_4 subdirectory and its contents. Sybase recommends that you use this JRE to run the installation. Other JRE versions may not work as well.

    • If you have the Developer or Workgroup Edition, copy SYBASE_EAS.lic from the root directory of the EAServer CD to the root directory of your install image.

    • If your silent installation process is going to upgrade an earlier EAServer installation, copy the following files and directories, preserving the relative path structure:

      • SupportGeneric/Upgrade directory and contents

      • SupportHP/Upgrade directory and contents

  3. Create configuration and run files as described in “Configuration and run files”. Copy any required additional files from the EAServer CD to your install image, as described in that section.

  4. To support the silent uninstallation process, create the files described in “Silent uninstaller files”.

NotePreserving the vpd.properties file You may make a few errors when creating and testing your silent installation. Cleanup of failed installations requires that you delete the InstallShield vpd.properties file. This file may be required by the installers for other applications. Before testing your installation, back up the following file and restore it before installing or upgrading other software: ~/vpd.properties.

StepsTesting and running the silent installer

  1. Before running a silent installation, make sure you:

    1. Have enough space in your temporary and product directories. See “System requirements”. If necessary, you can edit the shell script that runs the installation and change the temporary directory location specified for the -Dtemp.dir command line option.

    2. If your home directory contains an InstallShield vpd.properties file, make a backup copy. If you run the installer using a different user ID, check for this file in the home directory of that user ID and back it up if it exists.

    3. For all upgrades, stop EAServer applications such as “Jaguar CTS” terminal windows, EAServer Manager, and server processes that you have started in the background. You can shut down servers that are running in the background using EAServer Manager or jagtool (after connecting to the server to be shut down), or by killing the process ID that is running the serverstart.sh or jagsrv command.

  2. Test the silent installer using the run script that you created at the command line or in your own product’s installation script. Running a silent installation takes 10 – 20 minutes, depending on the speed of your computer.

  3. After each trial run, check for errors, and clean up your machine as described in “Troubleshooting and cleanup of the silent installer”.