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

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

installer pages asking if the user wants to enable the admin pages and if so asking for a password, plus the necessary ant targets to make it happen

File size: 3.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 <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"
51 create="true"
52 displayText="" />
53
54 </page>
55
56 <!-- start binary release -->
57 <page type="input" name="selector" displayText="">
58 <comment name="choose-components"/>
59
60 <target
61 target="Initialising"
62 diskRequirement="x"
63 defaultValue="true"
64 displayText="x"
65 force="true"
66 hidden="true"/>
67
68 <target
69 target="Installing Core System"
70 diskRequirement="@component.size.core@"
71 displayText=""
72 defaultValue="true"
73 force="true"/>
74
75 <!-- start bundled components -->
76 <target
77 target="Installing ImageMagick"
78 diskRequirement="@component.size.imagemagick@"
79 defaultValue="true"
80 displayText=""/>
81 <!-- end bundled components -->
82
83 </page>
84
85 <page type="input" name="admin-pages" displayText="">
86 <comment name="admin-expl"/>
87 <comment name="admin-expl-2"/>
88 <comment name="admin-expl-3"/>
89 <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
90 </page>
91
92 <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
93 <comment name="admin-password-expl"/>
94 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
95 </page>
96
97 <!-- end binary release -->
98
99 <page type="progress" name="progress" showTargets="true" displayText=""/>
100
101</installer>
Note: See TracBrowser for help on using the repository browser.