summaryrefslogtreecommitdiff
path: root/support/makeglossariesgui/src/installer/install.xml
blob: 2469e12012fceed1b975949f6e84355f2d818cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>

<!-- 
    Installation file for makeglossariesgui.
-->

<izpack:installation version="5.0" xmlns:izpack="http://izpack.org/schema/installation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd">

  <properties>
    <property name="info.appName" value="makeglossariesgui"/>
    <property name="info.url" value="http://www.dickimaw-books.com/software/makeglossariesgui/"/>
    <property name="project.version" value="2.1" />
  </properties>

    <!-- 
        The info section.
    -->
    <info>
        <appname>@{info.appName}</appname>
        <appversion>@{project.version}</appversion>
        <authors>
            <author name="Nicola L. C. Talbot" email="www.dickimaw-books.com/contact.html"/>
        </authors>
        <url>@{info.url}</url>
        <javaversion>1.8</javaversion>
        <run-privileged condition="izpack.windowsinstall|izpack.macinstall"/>
    </info>

    <guiprefs width="703" height="400" resizable="yes">
     <splash>images/makeglossariesgui-splash.png</splash>
    </guiprefs>

   <variables>
        <variable name="DesktopShortcutCheckboxEnabled" value="true"/>
   </variables>

    <locale>
        <langpack iso3="eng"/>
    </locale>

    <resources>
        <res id="LicencePanel.licence" src="doc/LICENSE"/>
        <res id="InfoPanel.info" src="doc/info.txt"/>
        <res id="shortcutSpec.xml" src="installer/shortcutSpec.xml"/>
        <res id="Unix_shortcutSpec.xml" src="installer/unix_shortcutSpec.xml"/>

    </resources>

    <panels>
        <panel classname="HelloPanel"/>
        <panel classname="InfoPanel"/>
        <panel classname="LicencePanel"/>
        <panel classname="TargetPanel"/>
        <panel classname="PacksPanel"/>
        <panel classname="InstallPanel"/>
        <panel classname="ShortcutPanel"/>
        <panel classname="FinishPanel"/>
    </panels>

    <packs>
        <pack name="Base" required="yes">
            <description>The base files</description>
            <file src="doc/info.txt" targetdir="$INSTALL_PATH"/>
            <file src="doc/LICENSE" targetdir="$INSTALL_PATH"/>
            <file src="lib" targetdir="$INSTALL_PATH"/>
            <fileset dir="bin" excludes="**/*.bat"
              targetdir="$INSTALL_PATH/bin"/>
            <fileset dir="bin" includes="**/*.bat"
              targetdir="$INSTALL_PATH/bin">
                <os family="windows"/>
            </fileset>
            <executable targetfile="$INSTALL_PATH/bin/makeglossariesgui"
            stage="never"/>
            <executable targetfile="$INSTALL_PATH/bin/makeglossariesgui"
            stage="never"/>
        </pack>
        <pack name="Documentation" required="no" preselected="no">
            <description>The makeglossariesgui documentation</description>
            <fileset dir="doc" includes="**/*-en.pdf" targetdir="$INSTALL_PATH/doc"/>
        </pack>
        <pack name="Source" required="no" preselected="no">
            <description>The source code</description>
            <file src="doc/createmakeglossariesguidocs" targetdir="$INSTALL_PATH/src/doc" />
            <file src="doc/images" targetdir="$INSTALL_PATH/src/doc" />
            <fileset dir="." includes="**/Makefile" 
              targetdir="$INSTALL_PATH/src" />
            <fileset dir="." includes="**/info.txt" 
              targetdir="$INSTALL_PATH/src" />
            <fileset dir="." includes="**/LICENSE" 
              targetdir="$INSTALL_PATH/src" />
            <fileset dir="." includes="**/*.xml" 
              targetdir="$INSTALL_PATH/src" />
            <file src="bin" targetdir="$INSTALL_PATH/src" />
            <file src="images" targetdir="$INSTALL_PATH/src" />
            <file src="java" targetdir="$INSTALL_PATH/src" />
            <fileset dir="resources" targetdir="$INSTALL_PATH/src/resources"
              includes="**/*.prop" />
            <fileset dir="tests" targetdir="$INSTALL_PATH/src/tests"
              includes="**/*.tex" />
        </pack>
    </packs>

    <natives>
     <native type="izpack" name="ShellLink.dll"/>
     <native type="izpack" name="ShellLink_x64.dll"/>
    </natives>

</izpack:installation>