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

Last change on this file since 30790 was 30790, 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
RevLine 
[15097]1<?xml version="1.0" encoding="UTF-8"?>
[14982]2<!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd">
[15213]3
[14982]4<installer
5 ui="swing,text"
6 verbose="true"
7 debug="false"
8 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
[17281]9 name="Greenstone@version@ Installer"
[16003]10 windowIcon="/resources/icon.png"
11 defaultImageResource="/resources/header.png"
[14982]12 minJavaVersion="1.4">
13
[17538]14 <!-- select language page -->
[30052]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 -->
[17538]32 <page type="input" name="language-selector" displayText="">
33 <comment name="language-selector-explanation"/>
[30052]34 <large-select property="language" defaultValue="en" displayText="" useAsLocale="true">
[17538]35 <option value="en" text="English"/>
[17702]36 <option value="fr" text="Français (French)"/>
37 <option value="es" text="Español (Spanish)"/>
[17849]38 <option value="de" text="Deutsch (German)"/>
[17702]39 <option value="ru" text="русскОй язык (Russian)"/>
40 <option value="zh" text="äž­æ–‡ (Chinese)"/>
[18723]41 <option value="ar" text="Arabic"/>
[30790]42 <!--<option value="hy" text="Armenian"/>-->
[30789]43 <option value="gu" text="ગુજરટ઀ી (Gujarati)"/>
44 <option value="ja" text="日本語 (Japanese)"/>
[30052]45 <option value="kk" text="Қазақ (Kazakh)"/>
[30789]46 <option value="pl" text="Polski (Polish)"/>
[30052]47 </large-select>
[17538]48 </page>
49
[19935]50 <!-- welcome page -->
[17788]51 <page type="input" name="intro" displayText="">
[19790]52 <comment name="welcome-greenstone3"/>
[14982]53 </page>
54
55 <!-- type="license" shows a license page to click through -->
[15205]56 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
[14982]57
[15205]58 <!-- install destination page -->
[15213]59 <page type="input" name="destination" displayText="">
[14982]60
[23816]61 <!-- NO FLAX START -->
62
[19959]63 <!-- if linux|mac -->
[15205]64 <directory property="installDir"
[19755]65 defaultValue="/usr/local/Greenstone3,${env.HOME}/Greenstone3"
[15205]66 create="true"
[17624]67 displayText=""
68 flagFile="_uninst"
69 flagFileExistsProperty="ISInstallDetected"
70 />
[19959]71 <!-- /if -->
72 <!-- if windows -->
73 <directory property="installDir"
74 defaultValue="C:\Program Files\Greenstone3,${env.HOMEDRIVE}${env.HOMEPATH}\Greenstone3"
75 create="true"
76 displayText=""
77 flagFile="_uninst"
78 flagFileExistsProperty="ISInstallDetected"
79 />
80 <!-- /if -->
[14982]81
[23816]82 <!-- NO FLAX END -->
83
84 <!-- FLAX START -->
85
86 <!-- if linux|mac -->
87 <directory property="installDir"
88 defaultValue="/usr/local/FLAX,${env.HOME}/FLAX"
89 create="true"
90 displayText=""
91 flagFile="_uninst"
92 flagFileExistsProperty="ISInstallDetected"
93 />
94 <!-- /if -->
95 <!-- if windows -->
96 <directory property="installDir"
97 defaultValue="C:\Program Files\FLAX,${env.HOMEDRIVE}${env.HOMEPATH}\FLAX"
98 create="true"
99 displayText=""
100 flagFile="_uninst"
101 flagFileExistsProperty="ISInstallDetected"
102 />
103 <!-- /if -->
104
105 <!-- FLAX END -->
106
[14982]107 </page>
108
[19935]109 <!-- page to stop you going forward if an IS installation is detected -->
[17624]110 <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
111 <comment name="is-install-detected"/>
112 </page>
113
[19935]114 <!-- page to choose components -->
[15213]115 <page type="input" name="selector" displayText="">
[15205]116 <comment name="choose-components"/>
[14982]117
[17764]118 <target
[17765]119 target="Initialising"
[17764]120 diskRequirement="x"
121 defaultValue="true"
122 displayText="x"
123 force="true"
124 hidden="true"/>
125
[17281]126 <target
[17596]127 target="Installing Core System"
[17281]128 diskRequirement="@component.size.core@"
[17652]129 displayText=""
[17281]130 defaultValue="true"
[17652]131 force="true"/>
132
[24216]133 <!-- NO FLAX START -->
134
[17281]135 <target
[29337]136 target="Adjusting Permissions"
137 diskRequirement="x"
138 defaultValue="true"
139 displayText="x"
140 hidden="true"/>
141
142 <target
[17646]143 target="Installing ImageMagick"
144 diskRequirement="@component.size.imagemagick@"
145 defaultValue="true"
146 displayText=""/>
147
[19935]148 <!-- if windows|mac -->
[17646]149 <target
[19935]150 target="Installing Ghostscript"
151 diskRequirement="@component.size.ghostscript@"
152 defaultValue="true"
153 displayText=""/>
154 <!-- /if -->
155
156 <target
[17596]157 target="Installing Tomcat"
[17281]158 diskRequirement="@component.size.tomcat@"
159 defaultValue="true"
160 displayText=""/>
161
[22325]162 <!-- start amp -->
163 <target
164 target="Installing AMP"
165 diskRequirement="@component.size.amp@"
166 defaultValue="true"
167 displayText=""/>
168 <!-- end amp -->
169
[19935]170 <!-- if windows -->
171 <target
172 target="Installing Start Menu Shortcuts"
173 diskRequirement="~10 KB"
174 defaultValue="true"
175 displayText=""/>
176 <!-- /if -->
177
[24216]178 <!-- NO FLAX END -->
179
180 <!-- FLAX START -->
181
182 <target
183 target="Installing ImageMagick"
184 diskRequirement="@component.size.imagemagick@"
185 defaultValue="true"
186 displayText=""
187 force="true"/>
188
189 <target
190 target="Installing Tomcat"
191 diskRequirement="@component.size.tomcat@"
192 defaultValue="true"
193 displayText=""
194 force="true"/>
195
196 <!-- if windows -->
197 <target
198 target="Installing Start Menu Shortcuts"
199 diskRequirement="~10 KB"
200 defaultValue="true"
201 displayText=""
202 force="true"/>
203 <!-- /if -->
[29337]204
[24216]205 <!-- FLAX END -->
[27379]206
[14982]207 </page>
208
[19935]209 <!-- page to setup tomcat -->
[26034]210 <!--<page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText="">
[15205]211 <text property="tomcat.server" defaultValue="localhost" displayText=""/>
[24602]212 <text property="tomcat.port" defaultValue="8383" displayText=""/>
213 <text property="tomcat.shutdown.port" defaultValue="8305" displayText=""/>
[26034]214 </page>-->
[25908]215
216 <!-- NO FLAX START -->
[24437]217
218 <!-- page to ask if we should enable admin pages -->
219 <page type="input" name="admin-pages" displayText="">
[29274]220 <comment name="admin3-expl"/>
221 <comment name="admin3-expl-2"/>
222 <comment name="admin3-expl-3"/>
223 <checkbox property="set.admin.pwd" displayText="" defaultValue="false"/>
[24437]224 </page>
[14982]225
[24437]226 <!-- only if they said yes above, set a password -->
[29285]227 <page type="input" name="admin-password" displayText="" ifProperty="(${set.admin.pwd}==true)" target="Configuring Administration Pages">
[24437]228 <comment name="admin-password-expl"/>
[29944]229 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
[24437]230 </page>
[25908]231 <!-- NO FLAX END -->
[24437]232
[19935]233 <!-- the final progress page -->
[17596]234 <page type="progress" name="progress" showTargets="true" displayText=""/>
[14982]235
236</installer>
Note: See TracBrowser for help on using the repository browser.