Statistics
| Revision:

svn-gvsig-desktop / tags / v1_9_Build_1250 / install / IzPack / sample / install.xml @ 34095

History | View | Annotate | Download (2.74 KB)

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

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

    
12
<installation version="1.0">
13

    
14
    <!-- 
15
        The info section.
16
        The meaning of the tags should be natural ...
17
    -->
18
    <info>
19
        <appname>Sample Installation</appname>
20
        <appversion>1.4 beta 666</appversion>
21
        <authors>
22
            <author name="JPz" email="jpz@superman.org"/>
23
            <author name="Hidden Man" email="hidden@hisdomain.com"/>
24
        </authors>
25
        <url>http://www.anotherworld-inspace-website.net/</url>
26
    </info>
27
    
28
    <!-- 
29
        The gui preferences indication.
30
        Sets the installer window to 640x480. It will not be able to change the size.
31
    -->
32
    <guiprefs width="640" height="480" resizable="no"/>
33
    
34
    <!-- 
35
        The locale section.
36
        Asks here to include the English and French langpacks.
37
    -->
38
    <locale>
39
        <langpack iso3="eng"/>
40
        <langpack iso3="fra"/>
41
    </locale>
42
    
43
    <!-- 
44
        The resources section.
45
        The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel.
46
    -->
47
    <resources>
48
        <res id="LicencePanel.licence" src="Licence.txt"/>
49
        <res id="InfoPanel.info" src="Readme.txt"/>
50
    </resources>
51
    
52
    <!-- 
53
        The panels section.
54
        We indicate here which panels we want to use. The order will be respected.
55
    -->
56
    <panels>
57
        <panel classname="HelloPanel"/>
58
        <panel classname="InfoPanel"/>
59
        <panel classname="LicencePanel"/>
60
        <panel classname="TargetPanel"/> 
61
        <panel classname="PacksPanel"/>
62
        <panel classname="InstallPanel"/>
63
        <panel classname="FinishPanel"/>
64
    </panels>
65
    
66
    <!-- 
67
        The packs section.
68
        We specify here our packs.
69
    -->
70
    <packs>
71
        <pack name="Base" required="yes">
72
            <description>The base files</description>
73
            <file src="Readme.txt" targetdir="$INSTALL_PATH"/>
74
            <file src="Licence.txt" targetdir="$INSTALL_PATH"/>
75
            <file src="script.bat" targetdir="$INSTALL_PATH"/>
76
            <parsable targetfile="$INSTALL_PATH/script.bat"/> <!-- The file will be parsed -->
77
        </pack>
78
        <pack name="Docs" required="no">
79
            <description>The documentation</description>
80
            <file src="doc" targetdir="$INSTALL_PATH"/> <!-- Reccursive adding -->
81
        </pack>
82
        <pack name="Sources" required="no">
83
            <description>The sources</description>
84
            <file src="src" targetdir="$INSTALL_PATH"/>
85
        </pack>
86
    </packs>
87
    
88
</installation>