Generating an Installation Script from the Graphical Installer
The last step of the graphical installer gives you the option of creating an automatic installation script. This script is an XML file that contains the configuration decisions that you made during the installation process. You can use this file to repeat the same installation in multiple environments, if needed.
This screen shows the option to create the script:

To generate this configuration file, click Generate an automatic installation script.
A dialog box will open prompting you to save the file in a location of your choosing. The default location is the same directory where LucidWorks Enterprise has been installed. Enter a filename such as "config-options.xml," then press enter.
To use the installation script in future installations, run the installer from the command line with a command such as:
java -jar lucidworks-enterprise-installer-1.7.jar config-options.xml
Generating an Installation Script by Hand
You can also create an installation script without using the graphical installer, though you cannot create it using the installer in console mode). This is a sample script that can be used as a start: see below for details on what sections to edit to customize this script locally.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <AutomatedInstallation langpack="eng"> <com.izforge.izpack.panels.HTMLHelloPanel id="UNKNOWN (com.izforge.izpack.panels.HTMLHelloPanel)"/> <com.izforge.izpack.panels.HTMLInfoPanel id="UNKNOWN (com.izforge.izpack.panels.HTMLInfoPanel)"/> <com.izforge.izpack.panels.LicencePanel id="UNKNOWN (com.izforge.izpack.panels.LicencePanel)"/> <com.izforge.izpack.panels.UserInputPanel id="enabled"> <userInput> <entry key="EnableSearchUI" value="true"/> <entry key="SearchUIAddress" value="http://127.0.0.1:8989/search"/> <entry key="EnableAdminUI" value="true"/> <entry key="AdminUIAddress" value="http://127.0.0.1:8989/admin"/> <entry key="EnableLWECore" value="true"/> <entry key="LweCoreAddress" value="http://127.0.0.1:8888"/> <entry key="EnableAlerts" value="true"/> <entry key="AlertsAddress" value="http://127.0.0.1:8989/alerts"/> </userInput> </com.izforge.izpack.panels.UserInputPanel> <com.lucid.izpack.StopLWPanel id="UNKNOWN (com.lucid.izpack.StopLWPanel)"/> <com.lucid.izpack.CheckPortPanel id="UNKNOWN (com.lucid.izpack.CheckPortPanel)"/> <com.lucid.izpack.FindLWPanel id="UNKNOWN (com.lucid.izpack.FindLWPanel)"/> <com.lucid.izpack.StopLWPanel id="UNKNOWN (com.lucid.izpack.StopLWPanel)"/> <com.lucid.izpack.CheckPortPanel id="UNKNOWN (com.lucid.izpack.CheckPortPanel)"/> <com.izforge.izpack.panels.TargetPanel id="UNKNOWN (com.izforge.izpack.panels.TargetPanel)"> <installpath>/Applications/LucidImagination/LucidWorksEnterprise</installpath> </com.izforge.izpack.panels.TargetPanel> <com.lucid.izpack.SummaryPanel id="UNKNOWN (com.lucid.izpack.SummaryPanel)"/> <com.izforge.izpack.panels.InstallPanel id="UNKNOWN (com.izforge.izpack.panels.InstallPanel)"/> <com.izforge.izpack.panels.UserInputPanel id="startlwe"> <userInput> <entry key="start.lw" value="true"/> </userInput> </com.izforge.izpack.panels.UserInputPanel> <com.lucid.izpack.NoLogProcessPanel id="UNKNOWN (com.lucid.izpack.NoLogProcessPanel)"/> <com.izforge.izpack.panels.ShortcutPanel id="UNKNOWN (com.izforge.izpack.panels.ShortcutPanel)"/> <com.izforge.izpack.panels.FinishPanel id="UNKNOWN (com.izforge.izpack.panels.FinishPanel)"/> </AutomatedInstallation>
There are three areas to edit:
Enable Components
This section defines where each component of LucidWorks Enterprise is installed so they know how to talk to each other.
<userInput> <entry key="EnableSearchUI" value="true"/> <entry key="SearchUIAddress" value="http://127.0.0.1:8989/search"/> <entry key="EnableAdminUI" value="true"/> <entry key="AdminUIAddress" value="http://127.0.0.1:8989/admin"/> <entry key="EnableLWECore" value="true"/> <entry key="LweCoreAddress" value="http://127.0.0.1:8888"/> <entry key="EnableAlerts" value="true"/> <entry key="AlertsAddress" value="http://127.0.0.1:8989/alerts"/> </userInput>
To skip the installation of a component, set the "Enable" value to false and remove the URL in the associated "Address" value. See the section onWorking With LucidWorks Enterprise Components for more information about what each component does.
Set the Installation Path
This is the directory and path of the LucidWorks Enterprise installation. Change to the proper path as needed.
<installpath>/Applications/LucidImagination/LucidWorksEnterprise</installpath>
Start LucidWorks Enterprise after Script Completion
LucidWorks Enterprise start scripts can be initiated immediately following completion of the installation. The default is true; if you do not want to initiate the start scripts immediately, change the value to false.
<userInput> <entry key="start.lw" value="true"/> </userInput>
Once you have made the appropriate edits, save the file with a name such as config-options.xml. To use it in future installations, run the installer from the command line with a command such as:
java -jar lucidworks-enterprise-installer-1.6.jar config-options.xml