java -jar myinstaller.jar -options-template myinstaller.properties
java -jar <installer_jar_file> -defaults-file <defaults_file> [-auto]
<variables> <variable name="DesktopShortcutCheckboxEnabled" value="true" /> </variables> <panels> <panel classname="CheckedHelloPanel" /> <panel classname="LicencePanel" /> <panel classname="TargetPanel" /> <panel classname="PacksPanel" /> <panel classname="InstallPanel" /> <panel classname="ShortcutPanel" /> <!-- <panel classname="SimpleFinishPanel" /> --> <panel classname="FinishPanel" /> </panels><?xml version="1.0" encoding="UTF-8" standalone="no"?><AutomatedInstallation langpack="eng"><com.izforge.izpack.panels.checkedhello.CheckedHelloPanel id="CheckedHelloPanel_0"/><com.izforge.izpack.panels.licence.LicencePanel id="LicencePanel_1"/><com.izforge.izpack.panels.target.TargetPanel id="TargetPanel_2"><installpath>E:\myapp-path1</installpath></com.izforge.izpack.panels.target.TargetPanel><com.izforge.izpack.panels.packs.PacksPanel id="PacksPanel_3"><pack index="0" name="Myapp Core" selected="true"/><pack index="1" name="User Manual" selected="true"/></com.izforge.izpack.panels.packs.PacksPanel><com.izforge.izpack.panels.install.InstallPanel id="InstallPanel_4"/><com.izforge.izpack.panels.shortcut.ShortcutPanel id="ShortcutPanel_5"><createMenuShortcuts>true</createMenuShortcuts><createDesktopShortcuts>true</createDesktopShortcuts><createStartupShortcuts>true</createStartupShortcuts><shortcutType>all</shortcutType></com.izforge.izpack.panels.shortcut.ShortcutPanel><com.izforge.izpack.panels.finish.FinishPanel id="FinishPanel_6"/></AutomatedInstallation>
#IzPack 5.1.0INSTALL_PATH=E:\\myapp-path1DesktopShortcutCheckboxEnabled=truecreateDesktopShortcuts=truecreateMenuShortcuts=trueAPP_NAME=myapp_yangInstallerFrame.logfilePath=E:\\myapp-path1$INSTALL_PATH:
$INSTALL_DRIVE:
$APPLICATIONS_DEFAULT_ROOT:
$JAVA_HOME:
$CLASS_PATH:
$USER_HOME:
$USER_NAME:
$APP_NAME:
$APP_URL:
$APP_VER:
$ISO2_LANG:
$ISO3_LANG: .
$IP_ADDRESS: .
$HOST_NAME:
$FILE_SEPARATOR:
$TargetPanel.dir:
$DesktopShortcutCheckboxEnabled
<variables> <variable name="DesktopShortcutCheckboxEnabled" value="true" />
<variable name="CreateDesktopShortcuts" value="true" /> <variable name="CreateMenuShortcuts>true" value="true" /> </variables>