Files
yacos/YACOSCore/Install/Install-izPack.xml

110 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<installation version="1.0">
<!-- Ant properties in this file can be referenced with @{},
otherwise use variables below in installer files with ${} -->
<info>
<appname>YACOS</appname>
<appversion>1.0.0</appversion>
<uninstaller name="Uninstall.jar" write="yes"/>
<authors>
<author name="Christian Corsano" email="christian.corsano@gmail.com"/>
<author name="Maxime Dagnicourt" email="maxime.dagnicourt@gmail.com"/>
<author name="Frederic Debuire" email="frederic.debuire@gmail.com"/>
<author name="Nicolas Michard" email="nicolas.michard@gmail.com"/>
<author name="Jialin Wang" email="kooksnake@hotmail.com"/>
</authors>
<javaversion>1.5</javaversion>
</info>
<guiprefs width="600" height="480" resizable="no">
<laf name="kunststoff">
<os family="unix" />
</laf>
<modifier key="useHeadingPanel" value="yes"/>
<modifier key="useHeadingForSummary" value="yes"/>
<modifier key="headingLineCount" value="2"/>
<modifier key="headingFontSize" value="1.5"/>
<modifier key="headingBackgroundColor" value="0x00ffffff"/>
<modifier key="headingPanelCounter" value="text"/>
<modifier key="headingPanelCounterPos" value="inHeading"/>
</guiprefs>
<locale>
<langpack iso3="eng"/>
<langpack iso3="fra"/>
</locale>
<!-- Need to define ant properties we want to use during install as variables -->
<variables>
<variable name="app_name" value="YACOS"/>
<variable name="jboss_version" value="jboss-4.2.2.GA"/>
<variable name="JDKPathPanel.minVersion" value="1.5.0" />
<variable name="JDKPathPanel.maxVersion" value="1.5.99" />
<variable name="JDKPathPanel.skipIfValid" value="yes" />
</variables>
<resources>
<res id="installer.langsel.img" src="logo.png"/>
<res id="HTMLInfoPanel.info_eng" src="info-eng.html"/>
<res id="HTMLInfoPanel.info_fra" src="info-fra.html"/>
<res id="userInputSpec.xml" src="userInputSpec.xml" />
<res id="packsLang.xml_eng" src="packsLang.xml_eng" />
<res id="packsLang.xml_fra" src="packsLang.xml_fra" />
<res id="userInputLang.xml_eng" src="userInputLang.xml_eng" />
<res id="userInputLang.xml_fra" src="userInputLang.xml_fra" />
<res src="shortcutSpec.xml" id="shortcutSpec.xml"/>
</resources>
<panels>
<panel classname="HelloPanel"/>
<panel classname="HTMLInfoPanel"/>
<panel classname="TargetPanel"/>
<panel classname="JDKPathPanel"/>
<panel classname="PacksPanel"/>
<panel classname="UserInputPanel" id="UserInputPanel.0"/>
<panel classname="SummaryPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<listeners>
<listener installer="SummaryLoggerInstallerListener">
<os family="windows"/>
</listener>
</listeners>
<packs>
<pack name="JBoss 4.2.2" required="yes" installGroups="Server" id="jboss">
<description>The first application deployed is a new JBoss application server to run YACOS.</description>
<file src="jboss-4.2.2.GA.zip" targetdir="$INSTALL_PATH" unpack="true"/>
</pack>
<pack name="YACOSCore" required="yes" installGroups="YACOS" id="YACOSCore">
<description>The YACOS business core.</description>
<file src="YACOSCore.jar" targetdir="$INSTALL_PATH/jboss-4.2.2.GA/server/default/deploy"/>
</pack>
<pack name="YACOSWeb" required="yes" installGroups="YACOS" id="YACOSWeb">
<description>The YACOS Web interface.</description>
<!--file src="YACOSWeb.war" targetdir="$INSTALL_PATH/jboss-4.2.2.GA/server/default/deploy"/-->
<!-- Installs YACOSWeb as the ROOT application -->
<singlefile src="YACOSWeb.war" target="$INSTALL_PATH/jboss-4.2.2.GA/server/default/deploy/ROOT.war"/>
<!-- Deploy the database (with Admin user account) -->
<file src="localDB.script" override="true" targetdir="$INSTALL_PATH/jboss-4.2.2.GA/server/default/data/hypersonic"/>
</pack>
<pack name="Server configuration" required="yes" id="ServerConfig">
<description>Configuration required for the installation.</description>
<!-- Replace the Tomcat server.xml config file to allow lauching on a different port -->
<singlefile src="tomcat-server.xml" target="$INSTALL_PATH/jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer/server.xml" override="true"/>
<!-- Sets the easy laucher for UNIX systems -->
<file src="StartYACOS.sh" targetdir="$INSTALL_PATH"/>
<parsable targetfile="$INSTALL_PATH/StartYACOS.sh" type="at"/>
<executable targetfile="$INSTALL_PATH/StartYACOS.sh" stage="never"/>
<!-- Sets the easy laucher for Windows systems -->
<file src="StartYACOS.bat" targetdir="$INSTALL_PATH"/>
<parsable targetfile="$INSTALL_PATH/StartYACOS.bat" type="at"/>
<executable targetfile="$INSTALL_PATH/StartYACOS.bat" stage="never"/>
</pack>
</packs>
<native type="izpack" name="ShellLink.dll"/>
</installation>