root/release-kits/mark2/installer/antinstall-config.xml @ 19790

Revision 19790, 3.5 KB (checked in by oranfry, 11 years ago)

changes for 2.82cd

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd">
3
4<installer
5            ui="swing,text"
6            verbose="true"
7            debug="false"
8            lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
9            name="Greenstone@version@ Installer"
10            windowIcon="/resources/icon.png"
11            defaultImageResource="/resources/header.png"
12            minJavaVersion="1.4">
13
14    <!-- select language page -->
15    <page type="input" name="language-selector" displayText="">
16        <comment name="language-selector-explanation"/>
17        <select property="language" defaultValue="en" displayText="" useAsLocale="true">
18            <option value="en" text="English"/>
19            <option value="fr" text="Français (French)"/>
20            <option value="es" text="Español (Spanish)"/>
21            <option value="de" text="Deutsch (German)"/>
22            <option value="ru" text="русскОй язык (Russian)"/>
23            <option value="zh" text="äž­æ–‡ (Chinese)"/>
24            <option value="ar" text="Arabic"/>
25        </select>
26    </page>
27
28    <!-- start binary release -->
29    <page type="input" name="intro" displayText="">
30        <comment name="welcome-message"/>
31    </page>
32    <!-- end binary release -->
33
34    <!-- start source release -->
35    <page type="input" name="intro" displayText="" target="Source Release">
36        <comment name="welcome"/>
37    </page>
38    <!-- end source release -->
39
40
41    <!--  type="license" shows a license page to click through -->
42    <page type="license" name="license" resource="/LICENSE.txt"  displayText="" />
43
44    <!--  install destination page -->
45    <page type="input" name="destination" displayText="">
46
47        <directory property="installDir"
48            defaultValue="/usr/local/Greenstone,${env.HOME}/Greenstone"
49            create="true"
50            displayText=""
51            flagFile="_uninst"
52            flagFileExistsProperty="ISInstallDetected"
53            />
54    </page>
55
56    <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
57        <comment name="is-install-detected"/>
58    </page>
59
60
61    <!-- start binary release -->
62    <page type="input" name="selector" displayText="">
63        <comment name="choose-components"/>
64
65        <target
66            target="Installing Core System"
67            diskRequirement="@component.size.core@"
68            displayText=""
69            defaultValue="true"
70            force="true"/>
71
72        <!-- start bundled components -->
73        <target
74            target="Installing ImageMagick"
75            diskRequirement="@component.size.imagemagick@"
76            defaultValue="true"
77            displayText=""/>
78
79        <target
80            target="Installing Ghostscript"
81            diskRequirement="@component.size.ghostscript@"
82            defaultValue="true"
83            displayText=""/>
84        <!-- end bundled components -->
85
86        <!-- start cdrom -->
87
88        <!-- the size of this component has to be maintained manually as we can't
89            know at compile time how big the documented examples are -->
90        <target
91            target="Installing Documented Examples"
92            diskRequirement="108 MB"
93            defaultValue="true"
94            displayText=""/>
95        <!-- end cdrom -->
96
97
98    </page>
99
100    <page type="input" name="admin-pages" displayText="">
101        <comment name="admin-expl"/>
102        <comment name="admin-expl-2"/>
103        <comment name="admin-expl-3"/>
104        <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
105    </page>
106
107    <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
108        <comment name="admin-password-expl"/>
109        <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
110    </page>
111
112    <!-- end binary release -->
113
114
115    <page type="progress" name="progress" showTargets="true" displayText=""/>
116
117</installer>
Note: See TracBrowser for help on using the browser.