Using the GlassFish ESB Installation CLI

Installing GlassFish ESB Silently Using Custom Settings

You can use the GlassFish ESB command-line installation script to perform a complete custom installation silently. A silent installation means that you will not interact with the Installer, nor will you see the process unless you open the directory to which you are installing.

This process uses the state file you generated and customized earlier.

Note –

GlassFish ESB does not support spaces in the installation directory path.

ProcedureTo Install GlassFish ESB Silently Using Custom Settings

Before You Begin
  1. Navigate to the directory where you downloaded the installation executable file.

  2. Run the installation file from the command line with the --silent and --state options, specifying where the state file is located.

    For example:

    glassfishesb-v2.1-full-installer-windows.exe --silent --state C:\glassfishesb\state.xml

    GlassFish ESB is installed in the directory you specified.

    Note –

    A log file is generated in your home directory under /.glassfishesb-v2.1-full-installer-hostname_date/log so you can track the progress of the installation. For Windows, this file is located in \Documents and Settings\user_name.