[15097] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[14982] | 2 | <!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd">
|
---|
[15213] | 3 |
|
---|
[14982] | 4 | <installer
|
---|
| 5 | ui="swing,text"
|
---|
| 6 | verbose="true"
|
---|
| 7 | debug="false"
|
---|
| 8 | lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
|
---|
[17280] | 9 | name="Greenstone@version@ Installer"
|
---|
[16000] | 10 | windowIcon="/resources/icon.png"
|
---|
| 11 | defaultImageResource="/resources/header.png"
|
---|
[14982] | 12 | minJavaVersion="1.4">
|
---|
| 13 |
|
---|
[17520] | 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"/>
|
---|
[17702] | 19 | <option value="fr" text="Français (French)"/>
|
---|
| 20 | <option value="es" text="Español (Spanish)"/>
|
---|
[17849] | 21 | <option value="de" text="Deutsch (German)"/>
|
---|
[17702] | 22 | <option value="ru" text="ÑÑÑÑкОй ÑзÑк (Russian)"/>
|
---|
| 23 | <option value="zh" text="äžæ (Chinese)"/>
|
---|
[18723] | 24 | <option value="ar" text="Arabic"/>
|
---|
[17520] | 25 | </select>
|
---|
| 26 | </page>
|
---|
| 27 |
|
---|
[15205] | 28 | <!-- simple intro page -->
|
---|
[17786] | 29 |
|
---|
[17788] | 30 | <!-- start binary release -->
|
---|
| 31 | <page type="input" name="intro" displayText="">
|
---|
[15205] | 32 | <comment name="welcome-message"/>
|
---|
[14982] | 33 | </page>
|
---|
[17788] | 34 | <!-- end binary release -->
|
---|
[14982] | 35 |
|
---|
[17788] | 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 |
|
---|
[14982] | 43 | <!-- type="license" shows a license page to click through -->
|
---|
[17039] | 44 | <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
|
---|
[14982] | 45 |
|
---|
[15205] | 46 | <!-- install destination page -->
|
---|
[15213] | 47 | <page type="input" name="destination" displayText="">
|
---|
[17280] | 48 |
|
---|
[15205] | 49 | <directory property="installDir"
|
---|
[17280] | 50 | defaultValue="/usr/local/Greenstone2"
|
---|
[15205] | 51 | create="true"
|
---|
[19599] | 52 | displayText=""
|
---|
| 53 | flagFile="_uninst"
|
---|
| 54 | flagFileExistsProperty="ISInstallDetected"
|
---|
| 55 | />
|
---|
[17280] | 56 |
|
---|
[14982] | 57 | </page>
|
---|
| 58 |
|
---|
[19599] | 59 | <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
|
---|
| 60 | <comment name="is-install-detected"/>
|
---|
| 61 | </page>
|
---|
| 62 |
|
---|
| 63 |
|
---|
[17786] | 64 | <!-- start binary release -->
|
---|
[15213] | 65 | <page type="input" name="selector" displayText="">
|
---|
[15205] | 66 | <comment name="choose-components"/>
|
---|
[17280] | 67 |
|
---|
[17764] | 68 | <target
|
---|
[17765] | 69 | target="Initialising"
|
---|
[17764] | 70 | diskRequirement="x"
|
---|
| 71 | defaultValue="true"
|
---|
| 72 | displayText="x"
|
---|
| 73 | force="true"
|
---|
| 74 | hidden="true"/>
|
---|
| 75 |
|
---|
[17280] | 76 | <target
|
---|
[17576] | 77 | target="Installing Core System"
|
---|
[17280] | 78 | diskRequirement="@component.size.core@"
|
---|
| 79 | displayText=""
|
---|
| 80 | defaultValue="true"
|
---|
| 81 | force="true"/>
|
---|
| 82 |
|
---|
[17646] | 83 | <!-- start bundled components -->
|
---|
| 84 | <target
|
---|
| 85 | target="Installing ImageMagick"
|
---|
| 86 | diskRequirement="@component.size.imagemagick@"
|
---|
| 87 | defaultValue="true"
|
---|
| 88 | displayText=""/>
|
---|
| 89 | <!-- end bundled components -->
|
---|
| 90 |
|
---|
[19624] | 91 | <!-- start cdrom -->
|
---|
| 92 |
|
---|
| 93 | <!-- the size of this component has to be maintained manually as we can't
|
---|
| 94 | know at compile time how big the documented examples are -->
|
---|
| 95 | <target
|
---|
| 96 | target="Installing Documented Examples"
|
---|
| 97 | diskRequirement="108 MB"
|
---|
| 98 | defaultValue="true"
|
---|
| 99 | displayText=""/>
|
---|
| 100 | <!-- end cdrom -->
|
---|
| 101 |
|
---|
| 102 |
|
---|
[17152] | 103 | </page>
|
---|
[15142] | 104 |
|
---|
[19201] | 105 | <page type="input" name="admin-pages" displayText="">
|
---|
| 106 | <comment name="admin-expl"/>
|
---|
| 107 | <comment name="admin-expl-2"/>
|
---|
| 108 | <comment name="admin-expl-3"/>
|
---|
| 109 | <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
|
---|
| 110 | </page>
|
---|
| 111 |
|
---|
| 112 | <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
|
---|
[17107] | 113 | <comment name="admin-password-expl"/>
|
---|
[19201] | 114 | <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
|
---|
[17107] | 115 | </page>
|
---|
[19201] | 116 |
|
---|
[17786] | 117 | <!-- end binary release -->
|
---|
[17107] | 118 |
|
---|
[17597] | 119 | <page type="progress" name="progress" showTargets="true" displayText=""/>
|
---|
[14982] | 120 |
|
---|
| 121 | </installer>
|
---|