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

Last change on this file since 30791 was 30791, checked in by ak19, 8 years ago

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

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 </large-select>
47 </page>
48
49 <!-- welcome page -->
50 <page type="input" name="intro" displayText="">
51 <comment name="welcome-greenstone3"/>
52 </page>
53
54 <!-- type="license" shows a license page to click through -->
55 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
56
57 <!-- install destination page -->
58 <page type="input" name="destination" displayText="">
59
60 <!-- NO FLAX START -->
61
62 <!-- if linux|mac -->
63 <directory property="installDir"
64 defaultValue="/usr/local/Greenstone3,${env.HOME}/Greenstone3"
65 create="true"
66 displayText=""
67 flagFile="_uninst"
68 flagFileExistsProperty="ISInstallDetected"
69 />
70 <!-- /if -->
71 <!-- if windows -->
72 <directory property="installDir"
73 defaultValue="C:\Program Files\Greenstone3,${env.HOMEDRIVE}${env.HOMEPATH}\Greenstone3"
74 create="true"
75 displayText=""
76 flagFile="_uninst"
77 flagFileExistsProperty="ISInstallDetected"
78 />
79 <!-- /if -->
80
81 <!-- NO FLAX END -->
82
83 <!-- FLAX START -->
84
85 <!-- if linux|mac -->
86 <directory property="installDir"
87 defaultValue="/usr/local/FLAX,${env.HOME}/FLAX"
88 create="true"
89 displayText=""
90 flagFile="_uninst"
91 flagFileExistsProperty="ISInstallDetected"
92 />
93 <!-- /if -->
94 <!-- if windows -->
95 <directory property="installDir"
96 defaultValue="C:\Program Files\FLAX,${env.HOMEDRIVE}${env.HOMEPATH}\FLAX"
97 create="true"
98 displayText=""
99 flagFile="_uninst"
100 flagFileExistsProperty="ISInstallDetected"
101 />
102 <!-- /if -->
103
104 <!-- FLAX END -->
105
106 </page>
107
108 <!-- page to stop you going forward if an IS installation is detected -->
109 <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
110 <comment name="is-install-detected"/>
111 </page>
112
113 <!-- page to choose components -->
114 <page type="input" name="selector" displayText="">
115 <comment name="choose-components"/>
116
117 <target
118 target="Initialising"
119 diskRequirement="x"
120 defaultValue="true"
121 displayText="x"
122 force="true"
123 hidden="true"/>
124
125 <target
126 target="Installing Core System"
127 diskRequirement="@component.size.core@"
128 displayText=""
129 defaultValue="true"
130 force="true"/>
131
132 <!-- NO FLAX START -->
133
134 <target
135 target="Adjusting Permissions"
136 diskRequirement="x"
137 defaultValue="true"
138 displayText="x"
139 hidden="true"/>
140
141 <target
142 target="Installing ImageMagick"
143 diskRequirement="@component.size.imagemagick@"
144 defaultValue="true"
145 displayText=""/>
146
147 <!-- if windows|mac -->
148 <target
149 target="Installing Ghostscript"
150 diskRequirement="@component.size.ghostscript@"
151 defaultValue="true"
152 displayText=""/>
153 <!-- /if -->
154
155 <target
156 target="Installing Tomcat"
157 diskRequirement="@component.size.tomcat@"
158 defaultValue="true"
159 displayText=""/>
160
161 <!-- start amp -->
162 <target
163 target="Installing AMP"
164 diskRequirement="@component.size.amp@"
165 defaultValue="true"
166 displayText=""/>
167 <!-- end amp -->
168
169 <!-- if windows -->
170 <target
171 target="Installing Start Menu Shortcuts"
172 diskRequirement="~10 KB"
173 defaultValue="true"
174 displayText=""/>
175 <!-- /if -->
176
177 <!-- NO FLAX END -->
178
179 <!-- FLAX START -->
180
181 <target
182 target="Installing ImageMagick"
183 diskRequirement="@component.size.imagemagick@"
184 defaultValue="true"
185 displayText=""
186 force="true"/>
187
188 <target
189 target="Installing Tomcat"
190 diskRequirement="@component.size.tomcat@"
191 defaultValue="true"
192 displayText=""
193 force="true"/>
194
195 <!-- if windows -->
196 <target
197 target="Installing Start Menu Shortcuts"
198 diskRequirement="~10 KB"
199 defaultValue="true"
200 displayText=""
201 force="true"/>
202 <!-- /if -->
203
204 <!-- FLAX END -->
205
206 </page>
207
208 <!-- page to setup tomcat -->
209 <!--<page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText="">
210 <text property="tomcat.server" defaultValue="localhost" displayText=""/>
211 <text property="tomcat.port" defaultValue="8383" displayText=""/>
212 <text property="tomcat.shutdown.port" defaultValue="8305" displayText=""/>
213 </page>-->
214
215 <!-- NO FLAX START -->
216
217 <!-- page to ask if we should enable admin pages -->
218 <page type="input" name="admin-pages" displayText="">
219 <comment name="admin3-expl"/>
220 <comment name="admin3-expl-2"/>
221 <comment name="admin3-expl-3"/>
222 <checkbox property="set.admin.pwd" displayText="" defaultValue="false"/>
223 </page>
224
225 <!-- only if they said yes above, set a password -->
226 <page type="input" name="admin-password" displayText="" ifProperty="(${set.admin.pwd}==true)" target="Configuring Administration Pages">
227 <comment name="admin-password-expl"/>
228 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
229 </page>
230 <!-- NO FLAX END -->
231
232 <!-- the final progress page -->
233 <page type="progress" name="progress" showTargets="true" displayText=""/>
234
235</installer>
Note: See TracBrowser for help on using the repository browser.