It is possible to install WSO2 SOA Enablement Server with no user input. This involves creating a simple configuration file that presets the parameters normally set interactively during installation.
To create a configuration file that will be used in subsequent installations of WSO2 SOA Enablement Server, run the following command from the directory to which you have downloaded WSO2 SOA Enablement Server:
java -jar wso2-soa-enablement-server-java-6.6.jar --save-config[=CONFIGFILE]
This starts the WSO2 SOA Enablement Server for Java installer. You will be prompted for installation parameters, as usual (see Installation Steps). However, due to the --save-config option, WSO2 SOA Enablement Server for Java will not actually be installed. Instead, your installation parameters will be saved to a configuration file. If you do not set the name of the CONFIGFILE yourself, the default name is InstallConfig.txt.
The following command will install WSO2 SOA Enablement Server using this configuration file instead of user input:
java -jar wso2-soa-enablement-server-java-6.6.jar --file[=CONFIGFILE]
However, there will still be output from this installation. To hide this output from the user, it needs to be redirected. For UNIX systems, it should be redirected to "dev/null", as follows:
java -jar wso2-soa-enablement-server-java-6.6.jar --file[=CONFIGFILE] >/dev/null 2>&1
For Windows systems, output can just be redirected to a file, as in this example:
java -jar wso2-soa-enablement-server-java-6.6.jar --file[=CONFIGFILE] >/tmp/exampleGarbageFile
To see a help screen of all available options during installation of WSO2 SOA Enablement Server, run the command:
java -jar wso2-soa-enablement-server-java-6.6.jar --help
Please see Installation Options for information on other installation options.