Installing Replication Server in a Unique Directory on Windows

Installing Replication Server in a unique directory may reset environment variables for other Sybase products and produce unpredictable results.

  1. Terminate all Sybase processes running on the system on which you are installing Replication Server, including the SySAM License Server if you plan to upgrade it.
    Note: If you do not know which processes are running, contact your system administrator.

    To stop the SySAM license server, see the SySAM Users Guide.

  2. If you have an existing Adaptive Server that runs as a Windows service, disable the service.
    1. Click Start > Settings > Control Panel > Administrative Tools > Services.
    2. In the Services list, right-click Sybase SQLServer server name.
    3. Select Properties.
    4. Set Startup Type to Disabled.
    5. Close the Services window.
  3. Record the current environment variable settings in a file called env.orig by entering:
    set > env.orig

    You can read this file with a text editor.

    Specifically, record the current values of:

    • INCLUDE
    • LIB
    • LM_LICENSE_FILE
    • PATH
    • SYBASE
    • SYBASE_JRE
  4. Insert the Replication Server media in the appropriate drive, or download and extract the Replication Server installation image from the Sybase Product Download Center (SPDC).
  5. Install Replication Server.
  6. Specify a unique directory for the Replication Server product.
  7. Specify the host name and port number of the license server.
  8. Change the environment variables to the original settings that you recorded in step 3:
    1. Select Start > Settings > Control Panel > System.
    2. Click the Advanced tab.
    3. Select Environment Variables.
    4. Under System Variables, change the values of the variables listed in step 3.
  9. Configure Adaptive Server to start automatically:
    1. Select Start > Settings > Control Panel > Administrative Tools > Services.
    2. In the Services list, right-click the Sybase SQLServer server name.
    3. Click Properties.
    4. Set Startup Type to Automatic.
  10. Restart your system.
    Note: When you install Replication Server in a unique installation directory, you must maintain two sql.ini files: one for Replication Server components and one for your other Sybase applications.
Related tasks
Installing Replication Server with the GUI Wizard
Related reference
Environment Variables on Windows