source: release-kits/mark2/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: 2.9 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 <!-- start binary release -->
29 <page type="input" name="intro" displayText="">
30 <comment name="welcome-message"/>
31 </page>
32 <!-- end binary release -->
33
34 <!-- start source release -->
35 <page type="input" name="intro" displayText="" target="Source Release">
36 <comment name="welcome-message"/>
37 </page>
38 <!-- end source release -->
39
40
41 <!-- type="license" shows a license page to click through -->
42 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
43
44 <!-- install destination page -->
45 <page type="input" name="destination" displayText="">
46
47 <directory property="installDir"
48 defaultValue="/usr/local/Greenstone2"
49 create="true"
50 displayText="" />
51
52 </page>
53
54 <!-- start binary release -->
55 <page type="input" name="selector" displayText="">
56 <comment name="choose-components"/>
57
58 <target
59 target="Installing Core System"
60 diskRequirement="@component.size.core@"
61 displayText=""
62 defaultValue="true"
63 force="true"/>
64
65 <!-- start bundled components -->
66 <target
67 target="Installing ImageMagick"
68 diskRequirement="@component.size.imagemagick@"
69 defaultValue="true"
70 displayText=""/>
71
72 <target
73 target="Installing Ghostscript"
74 diskRequirement="@component.size.ghostscript@"
75 defaultValue="true"
76 displayText=""/>
77 <!-- end bundled components -->
78
79 </page>
80
81 <page type="input" name="admin-pages" displayText="">
82 <comment name="admin-expl"/>
83 <comment name="admin-expl-2"/>
84 <comment name="admin-expl-3"/>
85 <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
86 </page>
87
88 <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
89 <comment name="admin-password-expl"/>
90 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
91 </page>
92
93 <!-- end binary release -->
94
95
96 <page type="progress" name="progress" showTargets="true" displayText=""/>
97
98</installer>
Note: See TracBrowser for help on using the repository browser.