root/main/trunk/release-kits/kits/rk2/installer/antinstall-config.xml @ 30790

Revision 30790, 4.4 KB (checked in by ak19, 3 years ago)

Installer has translations from additional languages now, release-kits should use them so that the installer displays these additional language options.

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            <!--<option value="hy" text="Armenian"/>-->
25            <option value="gu" text="ગુજરટ઀ી (Gujarati)"/>
26            <option value="ja" text="日本語 (Japanese)"/>
27            <option value="kk" text="Қазақ (Kazakh)"/>
28            <option value="pl" text="Polski (Polish)"/>
29        </select>
30    </page>
31
32    <!-- intro page -->
33    <page type="input" name="intro" displayText="">
34        <comment name="welcome"/>
35    </page>
36
37    <!-- licence page -->
38    <page type="license" name="license" resource="/LICENSE.txt"  displayText="" />
39
40    <!--  install destination page -->
41    <page type="input" name="destination" displayText="">
42
43        <!-- if linux|mac -->
44        <directory property="installDir"
45            defaultValue="/usr/local/Greenstone,${env.HOME}/Greenstone"
46            create="true"
47            displayText=""
48            flagFile="_uninst"
49            flagFileExistsProperty="ISInstallDetected"
50            />
51        <!-- /if -->
52        <!-- if windows -->
53        <directory property="installDir"
54            defaultValue="C:\Program Files\Greenstone,${env.HOMEDRIVE}\${env.HOMEPATH}\Greenstone"
55            create="true"
56            displayText=""
57            flagFile="_uninst"
58            flagFileExistsProperty="ISInstallDetected"
59            />
60        <!-- /if -->
61
62    </page>
63
64    <!-- don't budge if installshield installation found -->
65    <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
66        <comment name="is-install-detected"/>
67    </page>
68
69    <!-- components -->
70    <page type="input" name="selector" displayText="">
71        <comment name="choose-components"/>
72
73        <!-- if linux|windows|mac -->
74        <target
75            target="Initialising"
76            diskRequirement="x"
77            defaultValue="true"
78            displayText="x"
79            force="true"
80            hidden="true"/>
81        <!-- /if -->
82
83        <target
84            target="Installing Core System"
85            diskRequirement="@component.size.core@"
86            displayText=""
87            defaultValue="true"
88            force="true"/>
89
90        <target
91                target="Installing Apache Web Server"
92            diskRequirement="@component.size.httpd@"
93            displayText=""
94            defaultValue="true"/>
95
96        <target
97            target="Installing ImageMagick"
98            diskRequirement="@component.size.imagemagick@"
99            defaultValue="true"
100            displayText=""/>
101
102        <!-- if windows|mac -->
103        <target
104            target="Installing Ghostscript"
105            diskRequirement="@component.size.ghostscript@"
106            defaultValue="true"
107            displayText=""/>
108        <!-- /if -->
109
110
111        <!-- start cdrom -->
112        <!-- the size of this component has to be maintained manually as we can't
113            know at compile time how big the documented examples are -->
114        <target
115            target="Installing Documented Examples"
116            diskRequirement="108 MB"
117            defaultValue="true"
118            displayText=""/>
119        <!-- end cdrom -->
120
121        <!-- if windows -->
122        <target
123            target="Installing Start Menu Shortcuts"
124            diskRequirement="~10 KB"
125            defaultValue="true"
126            displayText=""/>
127        <!-- /if -->
128
129    </page>
130
131    <!-- page to ask if we should enable admin pages -->
132    <page type="input" name="admin-pages" displayText="">
133        <comment name="admin-expl"/>
134        <comment name="admin-expl-2"/>
135        <comment name="admin-expl-3"/>
136        <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
137    </page>
138
139    <!-- only if they said yes above, set a password -->
140    <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
141        <comment name="admin-password-expl"/>
142        <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
143    </page>
144
145    <!-- progress page -->
146    <page type="progress" name="progress" showTargets="true" displayText=""/>
147
148</installer>
Note: See TracBrowser for help on using the browser.