root/main/trunk/release-kits/kits/rk2/installer/antinstall-config.xml @ 30789

Revision 30789, 4.3 KB (checked in by ak19, 3 years ago)

Installer has translations from additional languages now, release-kits should use them so that the installer displays these additional language options.

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<installer
4            ui="swing,text"
5            verbose="true"
6            debug="false"
7            lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
8            name="Greenstone@version@ Installer"
9            windowIcon="/resources/icon.png"
10            defaultImageResource="/resources/header.png"
11            minJavaVersion="1.4">
12
13    <!-- select language page -->
14    <page type="input" name="language-selector" displayText="">
15        <comment name="language-selector-explanation"/>
16        <select property="language" defaultValue="en" displayText="" useAsLocale="true">
17            <option value="en" text="English"/>
18            <option value="fr" text="Français (French)"/>
19            <option value="es" text="Español (Spanish)"/>
20            <option value="de" text="Deutsch (German)"/>
21            <option value="ru" text="русскОй язык (Russian)"/>
22            <option value="zh" text="äž­æ–‡ (Chinese)"/>
23            <option value="ar" text="Arabic"/>
24            <option value="gu" text="ગુજરટ઀ી (Gujarati)"/>
25            <option value="ja" text="日本語 (Japanese)"/>
26            <option value="kk" text="Қазақ (Kazakh)"/>
27            <option value="pl" text="Polski (Polish)"/>
28        </select>
29    </page>
30
31    <!-- intro page -->
32    <page type="input" name="intro" displayText="">
33        <comment name="welcome"/>
34    </page>
35
36    <!-- licence page -->
37    <page type="license" name="license" resource="/LICENSE.txt"  displayText="" />
38
39    <!--  install destination page -->
40    <page type="input" name="destination" displayText="">
41
42        <!-- if linux|mac -->
43        <directory property="installDir"
44            defaultValue="/usr/local/Greenstone,${env.HOME}/Greenstone"
45            create="true"
46            displayText=""
47            flagFile="_uninst"
48            flagFileExistsProperty="ISInstallDetected"
49            />
50        <!-- /if -->
51        <!-- if windows -->
52        <directory property="installDir"
53            defaultValue="C:\Program Files\Greenstone,${env.HOMEDRIVE}\${env.HOMEPATH}\Greenstone"
54            create="true"
55            displayText=""
56            flagFile="_uninst"
57            flagFileExistsProperty="ISInstallDetected"
58            />
59        <!-- /if -->
60
61    </page>
62
63    <!-- don't budge if installshield installation found -->
64    <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
65        <comment name="is-install-detected"/>
66    </page>
67
68    <!-- components -->
69    <page type="input" name="selector" displayText="">
70        <comment name="choose-components"/>
71
72        <!-- if linux|windows|mac -->
73        <target
74            target="Initialising"
75            diskRequirement="x"
76            defaultValue="true"
77            displayText="x"
78            force="true"
79            hidden="true"/>
80        <!-- /if -->
81
82        <target
83            target="Installing Core System"
84            diskRequirement="@component.size.core@"
85            displayText=""
86            defaultValue="true"
87            force="true"/>
88
89        <target
90                target="Installing Apache Web Server"
91            diskRequirement="@component.size.httpd@"
92            displayText=""
93            defaultValue="true"/>
94
95        <target
96            target="Installing ImageMagick"
97            diskRequirement="@component.size.imagemagick@"
98            defaultValue="true"
99            displayText=""/>
100
101        <!-- if windows|mac -->
102        <target
103            target="Installing Ghostscript"
104            diskRequirement="@component.size.ghostscript@"
105            defaultValue="true"
106            displayText=""/>
107        <!-- /if -->
108
109
110        <!-- start cdrom -->
111        <!-- the size of this component has to be maintained manually as we can't
112            know at compile time how big the documented examples are -->
113        <target
114            target="Installing Documented Examples"
115            diskRequirement="108 MB"
116            defaultValue="true"
117            displayText=""/>
118        <!-- end cdrom -->
119
120        <!-- if windows -->
121        <target
122            target="Installing Start Menu Shortcuts"
123            diskRequirement="~10 KB"
124            defaultValue="true"
125            displayText=""/>
126        <!-- /if -->
127
128    </page>
129
130    <!-- page to ask if we should enable admin pages -->
131    <page type="input" name="admin-pages" displayText="">
132        <comment name="admin-expl"/>
133        <comment name="admin-expl-2"/>
134        <comment name="admin-expl-3"/>
135        <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
136    </page>
137
138    <!-- only if they said yes above, set a password -->
139    <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
140        <comment name="admin-password-expl"/>
141        <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
142    </page>
143
144    <!-- progress page -->
145    <page type="progress" name="progress" showTargets="true" displayText=""/>
146
147</installer>
Note: See TracBrowser for help on using the browser.