source: main/trunk/release-kits/kits/rk3/installer/antinstall-config.xml

Last change on this file was 37939, checked in by anupama, 8 months ago

Two more languages were translated for the installer and the installer now lists them.

File size: 7.0 KB
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 <!-- We want a dropdown for installer language selection.
16 <select> is rendered as radio buttons in the GUI version.
17 antinstaller.sourceforge.net/manual.html
18 <large-select>: "The large select has identical options to the select input.
19 Large select enables the list of options to be greater and is displayed differently.
20 In the Swing GUI the options are rendered as a drop-down list.
21 In the text/console UI the options are shown to the user 20 lines at a time."
22 An example: https://github.com/ykyuen/maven-h2o/blob/master/h2o-installer/ant-installer/antinstall-config.xml
23
24 However, to get <large-select> to work as <select> did, needed to modify the AntInstaller code itself
25 in release-kits\shared\core\ant-installer\src\org\tp23\antinstaller\runtime\exe\LoadConfigFilter.java,
26 and also bring the code in antinstaller\input\LargeSelectInput.java up to speed with Oran's changes to <select>
27 in ant-installer\src\org\tp23\antinstaller\input\SelectInput.java
28
29 <option value="hy" text="Armenian"/>
30 <option value="jp" text="日本語 (Japanese)"/>
31 -->
32 <page type="input" name="language-selector" displayText="">
33 <comment name="language-selector-explanation"/>
34 <large-select property="language" defaultValue="en" displayText="" useAsLocale="true">
35 <option value="en" text="English"/>
36 <option value="fr" text="Français (French)"/>
37 <option value="es" text="Español (Spanish)"/>
38 <option value="de" text="Deutsch (German)"/>
39 <option value="ru" text="русскОй язык (Russian)"/>
40 <option value="zh" text="äž­æ–‡ (Chinese)"/>
41 <option value="ar" text="Arabic"/>
42 <option value="gu" text="ગુજરટ઀ી (Gujarati)"/>
43 <option value="ja" text="日本語 (Japanese)"/>
44 <option value="kk" text="Қазақ (Kazakh)"/>
45 <option value="pl" text="Polski (Polish)"/>
46 <option value="ka" text="Georgian"/>
47 <option value="hy" text="Armenian"/>
48 </large-select>
49 </page>
50
51 <!-- welcome page -->
52 <page type="input" name="intro" displayText="">
53 <comment name="welcome-greenstone3"/>
54 </page>
55
56 <!-- type="license" shows a license page to click through -->
57 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
58
59 <!-- install destination page -->
60 <page type="input" name="destination" displayText="">
61
62 <!-- NO FLAX START -->
63
64 <!-- if linux|mac -->
65 <directory property="installDir"
66 defaultValue="/usr/local/Greenstone3,${env.HOME}/Greenstone3"
67 create="true"
68 displayText=""
69 flagFile="_uninst"
70 flagFileExistsProperty="ISInstallDetected"
71 />
72 <!-- /if -->
73 <!-- if windows -->
74 <directory property="installDir"
75 defaultValue="C:\Program Files\Greenstone3,${env.HOMEDRIVE}${env.HOMEPATH}\Greenstone3"
76 create="true"
77 displayText=""
78 flagFile="_uninst"
79 flagFileExistsProperty="ISInstallDetected"
80 />
81 <!-- /if -->
82
83 <!-- NO FLAX END -->
84
85 <!-- FLAX START -->
86
87 <!-- if linux|mac -->
88 <directory property="installDir"
89 defaultValue="/usr/local/FLAX,${env.HOME}/FLAX"
90 create="true"
91 displayText=""
92 flagFile="_uninst"
93 flagFileExistsProperty="ISInstallDetected"
94 />
95 <!-- /if -->
96 <!-- if windows -->
97 <directory property="installDir"
98 defaultValue="C:\Program Files\FLAX,${env.HOMEDRIVE}${env.HOMEPATH}\FLAX"
99 create="true"
100 displayText=""
101 flagFile="_uninst"
102 flagFileExistsProperty="ISInstallDetected"
103 />
104 <!-- /if -->
105
106 <!-- FLAX END -->
107
108 </page>
109
110 <!-- page to stop you going forward if an IS installation is detected -->
111 <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
112 <comment name="is-install-detected"/>
113 </page>
114
115 <!-- page to choose components -->
116 <page type="input" name="selector" displayText="">
117 <comment name="choose-components"/>
118
119 <target
120 target="Initialising"
121 diskRequirement="x"
122 defaultValue="true"
123 displayText="x"
124 force="true"
125 hidden="true"/>
126
127 <target
128 target="Installing Core System"
129 diskRequirement="@component.size.core@"
130 displayText=""
131 defaultValue="true"
132 force="true"/>
133
134 <!-- NO FLAX START -->
135
136 <target
137 target="Adjusting Permissions"
138 diskRequirement="x"
139 defaultValue="true"
140 displayText="x"
141 hidden="true"/>
142
143 <target
144 target="Installing ImageMagick"
145 diskRequirement="@component.size.imagemagick@"
146 defaultValue="true"
147 displayText=""/>
148
149 <!-- if windows|mac -->
150 <target
151 target="Installing Ghostscript"
152 diskRequirement="@component.size.ghostscript@"
153 defaultValue="true"
154 displayText=""/>
155 <!-- /if -->
156
157 <target
158 target="Installing Tomcat"
159 diskRequirement="@component.size.tomcat@"
160 defaultValue="true"
161 displayText=""/>
162
163 <!-- start amp -->
164 <target
165 target="Installing AMP"
166 diskRequirement="@component.size.amp@"
167 defaultValue="true"
168 displayText=""/>
169 <!-- end amp -->
170
171 <!-- if windows -->
172 <target
173 target="Installing Start Menu Shortcuts"
174 diskRequirement="~10 KB"
175 defaultValue="true"
176 displayText=""/>
177 <!-- /if -->
178
179 <!-- NO FLAX END -->
180
181 <!-- FLAX START -->
182
183 <target
184 target="Installing ImageMagick"
185 diskRequirement="@component.size.imagemagick@"
186 defaultValue="true"
187 displayText=""
188 force="true"/>
189
190 <target
191 target="Installing Tomcat"
192 diskRequirement="@component.size.tomcat@"
193 defaultValue="true"
194 displayText=""
195 force="true"/>
196
197 <!-- if windows -->
198 <target
199 target="Installing Start Menu Shortcuts"
200 diskRequirement="~10 KB"
201 defaultValue="true"
202 displayText=""
203 force="true"/>
204 <!-- /if -->
205
206 <!-- FLAX END -->
207
208 </page>
209
210 <!-- page to setup tomcat -->
211 <!--<page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText="">
212 <text property="tomcat.server" defaultValue="localhost" displayText=""/>
213 <text property="tomcat.port" defaultValue="8383" displayText=""/>
214 <text property="tomcat.shutdown.port" defaultValue="8305" displayText=""/>
215 </page>-->
216
217 <!-- NO FLAX START -->
218
219 <!-- page to ask if we should enable admin pages -->
220 <page type="input" name="admin-pages" displayText="">
221 <comment name="admin3-expl"/>
222 <comment name="admin3-expl-2"/>
223 <comment name="admin3-expl-3"/>
224 <checkbox property="set.admin.pwd" displayText="" defaultValue="false"/>
225 </page>
226
227 <!-- only if they said yes above, set a password -->
228 <page type="input" name="admin-password" displayText="" ifProperty="(${set.admin.pwd}==true)" target="Configuring Administration Pages">
229 <comment name="admin-password-expl"/>
230 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
231 </page>
232 <!-- NO FLAX END -->
233
234 <!-- the final progress page -->
235 <page type="progress" name="progress" showTargets="true" displayText=""/>
236
237</installer>
Note: See TracBrowser for help on using the repository browser.