source: release-kits/shared/greenstone2/installer/antinstall-config.xml@ 20042

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

reducing the greenstone2 installer to two general files instead of 6 os-specific files

File size: 4.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<installer
4 ui="swing,text"
5 verbose="true"
6 debug="false"
7 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
8 name="Greenstone@version@ Installer"
9 windowIcon="/resources/icon.png"
10 defaultImageResource="/resources/header.png"
11 minJavaVersion="1.4">
12
13 <!-- select language page -->
14 <page type="input" name="language-selector" displayText="">
15 <comment name="language-selector-explanation"/>
16 <select property="language" defaultValue="en" displayText="" useAsLocale="true">
17 <option value="en" text="English"/>
18 <option value="fr" text="Français (French)"/>
19 <option value="es" text="Español (Spanish)"/>
20 <option value="de" text="Deutsch (German)"/>
21 <option value="ru" text="русскОй язык (Russian)"/>
22 <option value="zh" text="äž­æ–‡ (Chinese)"/>
23 <option value="ar" text="Arabic"/>
24 </select>
25 </page>
26
27 <!-- intro page -->
28 <page type="input" name="intro" displayText="">
29 <comment name="welcome"/>
30 </page>
31
32 <!-- licence page -->
33 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
34
35 <!-- install destination page -->
36 <page type="input" name="destination" displayText="">
37
38 <!-- if linux|mac -->
39 <directory property="installDir"
40 defaultValue="/usr/local/Greenstone,${env.HOME}/Greenstone"
41 create="true"
42 displayText=""
43 flagFile="_uninst"
44 flagFileExistsProperty="ISInstallDetected"
45 />
46 <!-- /if -->
47 <!-- if windows -->
48 <directory property="installDir"
49 defaultValue="C:\Program Files\Greenstone,${env.HOMEDRIVE}\${env.HOMEPATH}\Greenstone"
50 create="true"
51 displayText=""
52 flagFile="_uninst"
53 flagFileExistsProperty="ISInstallDetected"
54 />
55 <!-- /if -->
56
57 </page>
58
59 <!-- don't budge if installshield installation found -->
60 <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
61 <comment name="is-install-detected"/>
62 </page>
63
64 <!-- conmponents -->
65 <page type="input" name="selector" displayText="">
66 <comment name="choose-components"/>
67
68 <!-- if linux|windows -->
69 <target
70 target="Initialising"
71 diskRequirement="x"
72 defaultValue="true"
73 displayText="x"
74 force="true"
75 hidden="true"/>
76 <!-- /if -->
77
78 <target
79 target="Installing Core System"
80 diskRequirement="@component.size.core@"
81 displayText=""
82 defaultValue="true"
83 force="true"/>
84
85 <target
86 target="Installing ImageMagick"
87 diskRequirement="@component.size.imagemagick@"
88 defaultValue="true"
89 displayText=""/>
90
91 <!-- if windows|mac -->
92 <target
93 target="Installing Ghostscript"
94 diskRequirement="@component.size.ghostscript@"
95 defaultValue="true"
96 displayText=""/>
97 <!-- /if -->
98
99
100 <!-- start cdrom -->
101 <!-- the size of this component has to be maintained manually as we can't
102 know at compile time how big the documented examples are -->
103 <target
104 target="Installing Documented Examples"
105 diskRequirement="108 MB"
106 defaultValue="true"
107 displayText=""/>
108 <!-- end cdrom -->
109
110 <!-- if windows -->
111 <target
112 target="Installing Start Menu Shortcuts"
113 diskRequirement="~10 KB"
114 defaultValue="true"
115 displayText=""/>
116 <!-- /if -->
117
118 </page>
119
120 <!-- page to ask if we should enable admin pages -->
121 <page type="input" name="admin-pages" displayText="">
122 <comment name="admin-expl"/>
123 <comment name="admin-expl-2"/>
124 <comment name="admin-expl-3"/>
125 <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
126 </page>
127
128 <!-- if they said yes above, set a password -->
129 <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
130 <comment name="admin-password-expl"/>
131 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
132 </page>
133
134 <!-- progress page -->
135 <page type="progress" name="progress" showTargets="true" displayText=""/>
136
137</installer>
Note: See TracBrowser for help on using the repository browser.