Silent Sybase CEP Server Installation on Windows

This section describes the procedure for creating and running a script that installs Sybase CEP Server on Windows platforms without the conventional prompts used by the standard installation.

Sybase recommends this installation method for installing multiple identical or almost identical copies of Sybase CEP Server. Sybase does not recommend silent installation for installations that require extensive customizing. Once you modify the installation script, you may run it as many times as necessary to install multiple copies of Sybase CEP Server.

Creating a Silent Install Script

Sybase CEP provides a default installation script named installer.properties located in the same directory as the installer. You can use this file or create your own script to capture your installation preferences. To create a silent install script:

  1. Locate the appropriate Sybase CEP Server installation file, either from the Sybase Web site, or from the location where it is saved if the file has been previously downloaded. The installer file is an executable (.exe) file beginning with:

    c8-server-x.x.x - operating system...

    where x.x.x is a three-part version number, separated by dots, which indicates the version of Sybase CEP Engine, and operating_system is the name of the Windows operating system on which Sybase CEP Engine is being installed.

    If you are installing the Sybase CEP Server on Microsoft Windows Vista, ensure you are logged in as an administrator.

  2. From a command line, issue the following command to launch the installer and create a response file from the options you select during installation:
    <install_launcher_name> -r <response file> [-i console]

    Where <response file> is the response file that will be generated. The specified file name should be an absolute path.

  3. If necessary, modify the response file to meet your requirements. Use this sample response file as a guide:
    #Validate Response File 
    #---------------------- 
    RUN_SILENT=true 
    
    #Choose Install Folder 
    #--------------------- 
    USER_INSTALL_DIR=C:\\sybase 
    
    #Choose Product License Type 
    #--------------------------- 
    SYBASE_PRODUCT_LICENSE_TYPE=license 
    
    #Choose Sybase Software Asset Management License 
    #----------------------------------------------- 
    SYSAM_LICENSE_SOURCE=license_file 
    SYSAM_LICENSE_FILE_PATHNAME=C:\\SYCEP\\CEP_Unserved_CP_unlimited.lic 
    SYSAM_EXISTING_LICENSE_SERVER_HOSTNAME=my_license_server 
    SYSAM_EXISTING_LICENSE_SERVER_PORTNUMBER= 
    
    #Software Asset Management Notification Setting 
    #---------------------------------------------- 
    SYSAM_NOTIFICATION_ENABLE=false 
    SYSAM_NOTIFICATION_SMTP_HOSTNAME=smtp 
    SYSAM_NOTIFICATION_SMTP_PORTNUMBER=25 
    SYSAM_NOTIFICATION_SENDER_EMAIL=name@company.com
    SYSAM_NOTIFICATION_RECIPIENT_EMAIL=name@company.com
    SYSAM_NOTIFICATION_EMAIL_SEVERITY=NONE 
    
    #Sybase CEP Server Standalone/Clustering Mode 
    #-------------------------------------------- 
    SERVER_MODE_SA=1 
    SERVER_MODE_CC=0 
    SERVER_MODE_CM=0 
    
    #Sybase CEP Server Configuration 
    #------------------------------- 
    LOCAL_HOST=myhost 
    PORT=6789 
    ADAPTER_FOLDER=C:\\sybase\\SybaseC8\\server\\SybaseC8Repository\\4.0 
    SERVER_FILES=C:\\sybase\\SybaseC8\\server\\storage 
    INSTALL_AS_WINDOWS=1 
    ENABLE_SSL=0 
    
    #Start Server immediately 
    #------------------------ 
    START_SERVER=\"\" 
    START_SERVER_1= 
    START_SERVER_BOOLEAN_1=0 
    

Using a Silent Install Script

The command to run the installer in silent mode is:

<install_launcher_name> –f <response file> [-i silent]

Where <response file> is the input response file. The specified file name must be an absolute path.

Please note:

  • If “INSTALLER_UI=silent” is specified in <response file>, “-i silent” is not required in the command line.
  • If –f is not specified, a response file named installer.properties that resides in the same directory as the installer is automatically used.