<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!--
	jRisk izPack installer description file

	Contains the description to generate a java-based installation .jar file
	for the Risk game

	@author Christian Weiske <cweiske@cweiske.de>
-->
<installation version="1.0">

	<info>
		<appname>Risk</appname>
		<!-- FIXME: automatically do this -->
		<appversion>1.0.9.3</appversion>
		<authors>
			<author name="Yura Mamyrin" email="yura@yura.net"/>
			<author name="Christian Weiske" email="cweiske@cweiske.de"/>
			<author name="Mike Chaten" email="colbertff@gmail.com"/>
		</authors>
		<url>http://jrisk.sourceforge.net/</url>
	</info>

	<guiprefs width="640" height="480" resizable="yes"/>

	<locale>
		<!-- we don't have any other translations for Risk yet -->
		<langpack iso3="eng"/>
		<langpack iso3="deu"/>
		<langpack iso3="fra"/>
		<langpack iso3="spa"/>
		<langpack iso3="rus"/>
		<langpack iso3="ned"/>
		<langpack iso3="ita"/>
		<langpack iso3="chn"/>
		<langpack iso3="cat"/>
		<langpack iso3="fin"/>
		<langpack iso3="tur"/>
		<langpack iso3="scg"/>
		<langpack iso3="por"/>
	</locale>

	<!--
		The resources section.
		The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel.
	-->
	<resources>
<!--		<res id="LicencePanel.licence" src="Licence.txt"/>-->
		<res id="InfoPanel.info" src="ReadMe.txt"/>

		<!-- packs translation files -->
		<res id="packsLang.xml_deu" src="../../installer/izpack/packsLang.xml_deu"/>

		<!-- desktop shortcuts -->
		<res id="shortcutSpec.xml" src="../../installer/izpack/shortcutSpec.xml"/>
		<res id="Unix_shortcutSpec.xml" src="../../installer/izpack/Unix_shortcutSpec.xml"/>
	</resources>

	<!--
		The panels section.
		We indicate here which panels we want to use. The order will be respected.
	-->
	<panels>
		<panel classname="HelloPanel"/>
<!--		<panel classname="InfoPanel"/>
		<panel classname="LicencePanel"/>-->
		<panel classname="TargetPanel"/><!-- installation path -->
		<panel classname="PacksPanel"/>
		<panel classname="InstallPanel"/>
		<panel classname="ShortcutPanel"/>
		<panel classname="FinishPanel"/>
	</panels>

	<!--
		The packs section.
		We specify here our packs.
	-->
	<packs>
		<pack name="Risk base files" required="yes" id="package.base">
			<description>Contains all the files and maps required to run the game</description>
			<fileset dir="." targetdir="$INSTALL_PATH">
				<exclude name="help/**"/>
				<exclude name="src.zip"/>
			</fileset>
			<!-- set the executable flag on unix -->
			<executable stage="never" targetfile="$INSTALL_PATH/Risk.sh"/>
			<executable stage="never" targetfile="$INSTALL_PATH/CommandLine.sh"/>
			<executable stage="never" targetfile="$INSTALL_PATH/FlashGUI.sh"/>
			<executable stage="never" targetfile="$INSTALL_PATH/Increment1GUI.sh"/>
			<executable stage="never" targetfile="$INSTALL_PATH/SimpleGUI.sh"/>
			<executable stage="never" targetfile="$INSTALL_PATH/SwingGUI.sh"/>
		</pack>

		<pack name="Manual" required="no" id="package.manual">
			<description>The program manual and documentation</description>
			<file src="help" targetdir="$INSTALL_PATH"/>
		</pack>

		<pack name="Sources" required="no" id="package.source">
			<description>The java source files</description>
			<file src="src.zip" targetdir="$INSTALL_PATH"/>
		</pack>
	</packs>

	<!-- needed for shortcuts -->
	<native type="izpack" name="ShellLink.dll"/>

</installation>
