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

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

Flags marking NO FLAX START and END

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