I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
install.xml 5.8 KiB
Newer Older
jrandom's avatar
jrandom committed
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>

<installation version="1.0">

    <info>
        <appname>i2p</appname>
        <appversion>0.7.3</appversion>
jrandom's avatar
jrandom committed
        <authors>
zzz's avatar
zzz committed
            <author name="I2P" email="http://forum.i2p2.de/"/>
jrandom's avatar
jrandom committed
        </authors>
zzz's avatar
zzz committed
        <url>http://www.i2p2.de/</url>
jrandom's avatar
jrandom committed
    </info>

    <guiprefs width="590" height="356" resizable="yes">
        <laf name="liquid">
            <os family="unix"/>
        </laf>
    </guiprefs>

    <locale>
        <langpack iso3="eng"/>
        <langpack iso3="cat"/>
        <langpack iso3="chn"/>
        <langpack iso3="cze"/>
        <langpack iso3="dan"/>
        <langpack iso3="deu"/>
        <langpack iso3="fin"/>
        <langpack iso3="fra"/>
        <langpack iso3="hun"/>
        <langpack iso3="ita"/>
        <langpack iso3="jpn"/>
        <langpack iso3="mys"/>
        <langpack iso3="ned"/>
        <langpack iso3="nor"/>
        <langpack iso3="pol"/>
        <langpack iso3="por"/>
        <langpack iso3="rom"/>
        <langpack iso3="rus"/>
        <langpack iso3="scg"/>
        <langpack iso3="spa"/>
        <langpack iso3="svk"/>
        <langpack iso3="swe"/>
        <langpack iso3="tur"/>
        <langpack iso3="ukr"/>
jrandom's avatar
jrandom committed
    </locale>

    <native type="izpack" name="ShellLink.dll" />
    
    <resources>
        <res id="Installer.image" src="installer/resources/i2plogo.png" />
        <res id="InfoPanel.info" src="installer/resources/readme.license.txt"/>
        <!-- <res id="ProcessPanel.Spec.xml" src="installer/resources/ProcessPanel.Spec.xml"/> -->
	<res id="shortcutSpec.xml" src="installer/resources/shortcutSpec.xml" />
    </resources>

    <panels>
        <panel classname="HelloPanel"/>
        <panel classname="InfoPanel"/>
        <panel classname="TargetPanel"/>
        <panel classname="InstallPanel"/>
        <panel classname="ShortcutPanel"><os family="windows" /></panel>
        <!-- <panel classname="ProcessPanel"><os family="windows" /></panel> -->
        <panel classname="SimpleFinishPanel"/>
    </panels>

    <packs>
        <pack name="Base" required="yes">
            <description>Base installation files</description>
            <fileset dir="pkg-temp" includes="**/*" targetdir="$INSTALL_PATH"/>
            
            <!-- postinstall stuff for windows -->
            <executable targetfile="$INSTALL_PATH/lib/copy.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\lib\wrapper\win32\I2Psvc.exe" /><arg value="$INSTALL_PATH" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/copy.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\lib\wrapper\win32\wrapper.dll" /><arg value="$INSTALL_PATH\lib" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/copy.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\lib\wrapper\win32\wrapper.jar" /><arg value="$INSTALL_PATH\lib" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\i2prouter" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\install_i2p_service_unix" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\install-headless.txt" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\osid" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\postinstall.sh" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\postinstall.bat" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\uninstall_i2p_service_unix" /></args></executable>
            <executable targetfile="$INSTALL_PATH/lib/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH\lib\wrapper" /></args></executable>
            <!--
            <executable targetfile="$INSTALL_PATH/lib/exec.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
                <args><arg value="$INSTALL_PATH" /><arg value="$INSTALL_PATH\I2Psvc.exe" /><arg value="-c" /><arg value="$INSTALL_PATH\wrapper.config" /></args></executable>
            -->
                
            <!-- postinstall stuff for *nix -->
            <!-- stage=never means chmod a+x -->
            <executable targetfile="$INSTALL_PATH/postinstall.sh" type="bin" stage="never" keep="true" failure="warn"><os family="unix" /></executable>
            <executable targetfile="$INSTALL_PATH/postinstall.sh" type="bin" stage="postinstall" keep="true" failure="warn"><os family="unix" />
                <args><arg value="$INSTALL_PATH" /></args></executable>

        </pack>
    </packs>

</installation>