If an automated installation script was saved during Klaros installation,
the program can be reinstalled with the same parameters.
In this example it is assumed that the automated installation script was saved
under auto-install.xml
.
Linux: Klaros-Testmanagement-<version>-Setup.bin -- -console auto-install.xml
Windows: Klaros-Testmanagement-<version>-Setup.exe auto-install.xml
You may also use the following sample script. Please adapt the setting for installpath
and the entry
fields under userInput
.
The installation may issue some warnings of the form AutomationHelper class not found for panel ...
,
which can be safely ignored.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <AutomatedInstallation langpack="eng"> <com.izforge.izpack.panels.htmlhello.HTMLHelloPanel id="hello" /> <com.izforge.izpack.panels.htmlinfo.HTMLInfoPanel id="info" /> <com.izforge.izpack.panels.licence.LicencePanel id="license" /> <com.izforge.izpack.panels.target.TargetPanel id="target"> <installpath>/opt/Klaros-Testmanagement</installpath> </com.izforge.izpack.panels.target.TargetPanel> <com.izforge.izpack.panels.packs.PacksPanel id="packs"> <pack index="0" name="Java Runtime Environment" selected="true"/> <pack index="1" name="Tomcat 9 Application Server" selected="true" /> <pack index="2" name="Klaros-Testmanagement" selected="true" /> <pack index="3" name="PDF-Documentation" selected="false" /> </com.izforge.izpack.panels.packs.PacksPanel> <com.izforge.izpack.panels.userinput.UserInputPanel id="portselection"> <userInput> <entry key="tomcat_server_port" value="18005" /> <entry key="tomcat_http_port" value="18080" /> <entry key="tomcat_https_port" value="18443" /> <entry key="tomcat_session_timeout" value="60" /> <entry key="tomcat_memory_min" value="256" /> <entry key="tomcat_memory_max" value="1024" /> <entry key="tomcat_admin_name" value="tcadmin" /> <entry key="tomcat_admin_password" value="IfYouDontChangeThisDontBlameMe" /> <entry key="start_server_flag" value="false" /> <entry key="launch_browser_flag" value="false" /> </userInput> </com.izforge.izpack.panels.userinput.UserInputPanel> <com.izforge.izpack.panels.install.InstallPanel id="install" /> <com.izforge.izpack.panels.process.ProcessPanel id="process" /> <com.izforge.izpack.panels.shortcut.ShortcutPanel id="shortcuts"> <createMenuShortcuts>false</createMenuShortcuts> <programGroup>Klaros Testmanagement</programGroup> <createDesktopShortcuts>false</createDesktopShortcuts> <createStartupShortcuts>false</createStartupShortcuts> </com.izforge.izpack.panels.shortcut.ShortcutPanel> <com.izforge.izpack.panels.finish.FinishPanel id="finish" /> </AutomatedInstallation>
Example 3.1. Sample auto-install.xml