source: release-kits/wirk2/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.4 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 <!-- type="license" shows a license page to click through -->
41 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
42
43 <!-- install destination page -->
44 <page type="input" name="destination" displayText="">
45
46<!-- Because of Vista UAC related issues, it is now preferred to install Greenstone where the current user has full privileges -->
47 <directory property="installDir"
48 defaultValue="${env.HOMEDRIVE}\${env.HOMEPATH}\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="Looking For Previous Installation"
60 diskRequirement="x"
61 defaultValue="true"
62 displayText="x"
63 force="true"
64 hidden="true"/>
65
66 <target
67 target="Installing Core System"
68 diskRequirement="@component.size.core@"
69 displayText=""
70 defaultValue="true"
71 force="true"/>
72
73 <target
74 target="Installing Start Menu Shortcuts"
75 diskRequirement="~10 KB"
76 defaultValue="true"
77 displayText=""/>
78
79 <!-- start bundled components -->
80 <target
81 target="Installing ImageMagick"
82 diskRequirement="@component.size.imagemagick@"
83 defaultValue="true"
84 displayText=""/>
85
86 <target
87 target="Installing Ghostscript"
88 diskRequirement="@component.size.ghostscript@"
89 defaultValue="true"
90 displayText=""/>
91 <!-- end bundled components -->
92
93 </page>
94
95 <page type="input" name="admin-pages" displayText="">
96 <comment name="admin-expl"/>
97 <comment name="admin-expl-2"/>
98 <comment name="admin-expl-3"/>
99 <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
100 </page>
101
102 <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
103 <comment name="admin-password-expl"/>
104 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
105 </page>
106
107
108 <!-- end binary release -->
109
110 <page type="progress" name="progress" showTargets="true" displayText=""/>
111
112</installer>
Note: See TracBrowser for help on using the repository browser.