source: release-kits/lirk2/installer/antinstall-config.xml@ 19755

Last change on this file since 19755 was 19755, checked in by oranfry, 15 years ago

defaultValue for DirectoryInput is now a comma separated list of choices for the install directory, which will be iterated at runtime and the first writable directory in the list chosen as the default install directory

File size: 3.5 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 <!-- simple intro page -->
29
30 <!-- start binary release -->
31 <page type="input" name="intro" displayText="">
32 <comment name="welcome-message"/>
33 </page>
34 <!-- end binary release -->
35
36 <!-- start source release -->
37 <page type="input" name="intro" displayText="" target="Source Release">
38 <comment name="welcome-message"/>
39 </page>
40 <!-- end source release -->
41
42
43 <!-- type="license" shows a license page to click through -->
44 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
45
46 <!-- install destination page -->
47 <page type="input" name="destination" displayText="">
48
49 <directory property="installDir"
50 defaultValue="/usr/local/Greenstone2,${env.HOME}/Greenstone2"
51 create="true"
52 displayText=""
53 flagFile="_uninst"
54 flagFileExistsProperty="ISInstallDetected"
55 />
56
57 </page>
58
59 <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
60 <comment name="is-install-detected"/>
61 </page>
62
63
64 <!-- start binary release -->
65 <page type="input" name="selector" displayText="">
66 <comment name="choose-components"/>
67
68 <target
69 target="Initialising"
70 diskRequirement="x"
71 defaultValue="true"
72 displayText="x"
73 force="true"
74 hidden="true"/>
75
76 <target
77 target="Installing Core System"
78 diskRequirement="@component.size.core@"
79 displayText=""
80 defaultValue="true"
81 force="true"/>
82
83 <!-- start bundled components -->
84 <target
85 target="Installing ImageMagick"
86 diskRequirement="@component.size.imagemagick@"
87 defaultValue="true"
88 displayText=""/>
89 <!-- end bundled components -->
90
91 <!-- start cdrom -->
92
93 <!-- the size of this component has to be maintained manually as we can't
94 know at compile time how big the documented examples are -->
95 <target
96 target="Installing Documented Examples"
97 diskRequirement="108 MB"
98 defaultValue="true"
99 displayText=""/>
100 <!-- end cdrom -->
101
102
103 </page>
104
105 <page type="input" name="admin-pages" displayText="">
106 <comment name="admin-expl"/>
107 <comment name="admin-expl-2"/>
108 <comment name="admin-expl-3"/>
109 <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
110 </page>
111
112 <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
113 <comment name="admin-password-expl"/>
114 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
115 </page>
116
117 <!-- end binary release -->
118
119 <page type="progress" name="progress" showTargets="true" displayText=""/>
120
121</installer>
Note: See TracBrowser for help on using the repository browser.