<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>

<!-- 
    A sample installation file.
    Use it as a base for your own installers :-)
    
    To compile it :
    - go in the bin directory where you installed IzPack
    - call "compile ../sample/install.xml -b ../sample"
-->

<installation version="1.0">

    <!-- 
        The info section.
        The meaning of the tags should be natural ...
    -->
    <info>
        <appname>${target.website} Automatic Media Uploader</appname>
        <appversion>1.0 beta</appversion>
        <authors>
            <author name="Support" email="support@${target.website}.com"/>
        </authors>
        <url>http://www.${target.website}.com</url>
    </info>

    <!-- 
        The gui preferences indication.
        Sets the installer window to 640x480. It will not be able to change the size.
    -->
    <guiprefs width="640" height="480" resizable="yes"/>

    <!-- 
        The locale section.
        Asks here to include the English and French langpacks.
    -->
    <locale>
        <langpack iso3="eng"/>
    </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"/>
        <res src="shortcuts.unix.xml" id="shortcuts.unix.xml"/>
        <res src="shortcuts.win.xml" id="shortcuts.win.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"/>
        <panel classname="PacksPanel"/>
        <panel classname="ShortcutPanel"/>
        <panel classname="InstallPanel"/>
        <panel classname="FinishPanel"/>
    </panels>

    <!-- 
        The packs section.
        We specify here our packs.
    -->
    <packs>
        <pack name="Base" required="yes">
            <description>The base files</description>
            <file src="AutomaticMediaUploader.bat" targetdir="$INSTALL_PATH"/>
            <file src="AutomaticMediaUploader.exe" targetdir="$INSTALL_PATH"/>
            <file src="AutomaticMediaUploader.osx" targetdir="$INSTALL_PATH"/>
            <file src="AutomaticMediaUploader.sh" targetdir="$INSTALL_PATH"/>
            <file src="Info.plist" targetdir="$INSTALL_PATH"/>
            <file src="config" targetdir="$INSTALL_PATH"/>
            <file src="images" targetdir="$INSTALL_PATH"/>
            <file src="lib" targetdir="$INSTALL_PATH"/>
            <file src="lib-linux" targetdir="$INSTALL_PATH"/>
            <file src="lib-macosx" targetdir="$INSTALL_PATH"/>
            <file src="lib-windows" targetdir="$INSTALL_PATH"/>
            <native type="izpack" name="ShellLink.dll"/>
        </pack>
    </packs>

</installation>
