Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The controller_install.xml file is explained with the code listing below. The comments included are intended to be self-explanatory.
    Download: controller_install.xml

    Code Block
    languagexml
    titleConfiguration of the controller_install.xml file
    linenumberstrue
    collapsetrue
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!-- 
    XML configurationrseponse file for JS7 Controller setup
    
    The JS7 Controller is available with a dual license model:
    - GNU GPL v3.0 License, see https://www.gnu.org/licenses/gpl-3.0.en.html
    - JS7 Commercial License, see licencelicense.txt
    
    The setup asks you for the desired license model,
    see below <entry key="licenceOptions" .../>
    
    If you run the installer and do not specify a commercial license key
    then at the same time you accept the terms of the
    licence agreement under the GNU GPL v3.0 License.
    -->
    <AutomatedInstallation langpack="eng">
        <com.izforge.izpack.panels.UserInputPanel id="home">
            <userInput/>
        </com.izforge.izpack.panels.UserInputPanel>
        <!--com.izforge.izpack.panels.UserInputPanel id="licences">
            <userInput-->
            
                <!-- Select the license model (GPL or Commercial) -->
                <!--entry key="licenceOptions" value="GPL"/-->
                
                <!-- If you select 'GPL' as the license model than the licence must be empty.
                     Otherwise please add a license file if available.
                     It is also possible to add the license file later. -->
                <!--entry key="licence" value=""/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel-->
        <com.izforge.izpack.panels.HTMLLicencePanel id="gpl_licence"/>
        <com.izforge.izpack.panels.HTMLLicencePanel id="commercial_licence"/>
        <com.izforge.izpack.panels.TargetPanel id="target">
            
            <!-- SELECT THE INSTALLATION PATH
                 The installer expands this path with the JS7 Controller ID as a sub-directory.
                 The path must be absolute!
                 The default path is C:\Program Files\sos-berlin.com\js7\controller -->
            <installpath>C:\Program Files\sos-berlin.com\js7\controller</installpath>
            
        </com.izforge.izpack.panels.TargetPanel>
        <com.izforge.izpack.panels.UserPathPanel id="userpath">
            
            <!-- SELECT THE DIRECTORY FOR CONFIGURATION FILES AND LOG FILES
                 The installer expands this path with the JS7 Controller ID as a sub-directory.
                 The path must be absolute!
                 The default path is C:\ProgramData\sos-berlin.com\js7\controller -->
            <UserPathPanelElement>C:\ProgramData\sos-berlin.com\js7\controller</UserPathPanelElement>
            
        </com.izforge.izpack.panels.UserPathPanel>
        <com.izforge.izpack.panels.UserInputPanel id="network">
            <userInput>
            
                <!-- ID of the JS7 Controller -->
                <entry key="controllerId" value="controller"/>
                
                <!-- Choose 'yes' if the JS7 Controller instance is a standby Controller instance in a cluster -->
                <entry key="isStandby" value="no"/>
                
                <!-- Choose 'yes' or 'no' whether the JS7 Controller should be started after installation -->
                <entry key="launchController" value="yes"/>
                
                <!-- HTTP port of the JS7 Controller -->
                <entry key="controllerPort" value="4444"/>
                
                <!-- Optionally specify an IP address or hostname that is used to indicate which network 
                     interface the JS7 Controller should listen to when using HTTP. If empty then 
                     the Controller listens to any available network interfaces. -->
                <entry key="controllerHost" value=""/>
                
                <!-- The JS7 Controller will be installed as a Windows Service. You can set the service
                     account otherwise the local system account will be used. The account has to be
                     specified according to the pattern 'Domain\User'. -->
                <entry key="serviceAccount" value=""/>
                <entry key="servicePassword" value=""/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="environment">
            <userInput>
    
                <!-- Directory where the JS7 Controller's log files are stored 
                     (default: '[above configuration path]\logs'). -->
                <entry key="logPath" value=""/>
                
                <!-- Directory where the JS7 Controller's PID file is stored 
                     (default: above log path). -->
                <entry key="pidFilePath" value=""/>
                
                <!-- Working directory for the JS7 Controller
                     e.g. %USERPROFILE% (default: [installation path]) -->
                <entry key="workPath" value=""/>
                
                <!-- The JS7 Controller requires a Java JRE minimum version '1.8'. You can choose 
                     a different Java environment than the Java used during installation. -->
                <entry key="javaHome" value=""/>
                
                <!-- Optionally specify Java options (default: -Xmx500m). -->
                <entry key="javaOptions" value=""/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="end">
            <userInput/>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.InstallPanel id="install"/>
        <com.izforge.izpack.panels.ProcessPanel id="process"/>
        <com.izforge.izpack.panels.FinishPanel id="finish"/>
    </AutomatedInstallation>

...