[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"
|
---|
[17281] | 9 | name="Greenstone@version@ Installer"
|
---|
[16003] | 10 | windowIcon="/resources/icon.png"
|
---|
| 11 | defaultImageResource="/resources/header.png"
|
---|
[14982] | 12 | minJavaVersion="1.4">
|
---|
| 13 |
|
---|
[17538] | 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"/>
|
---|
[17538] | 25 | </select>
|
---|
| 26 | </page>
|
---|
| 27 |
|
---|
[19935] | 28 | <!-- welcome page -->
|
---|
[17788] | 29 | <page type="input" name="intro" displayText="">
|
---|
[19790] | 30 | <comment name="welcome-greenstone3"/>
|
---|
[14982] | 31 | </page>
|
---|
| 32 |
|
---|
| 33 | <!-- type="license" shows a license page to click through -->
|
---|
[15205] | 34 | <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
|
---|
[14982] | 35 |
|
---|
[15205] | 36 | <!-- install destination page -->
|
---|
[15213] | 37 | <page type="input" name="destination" displayText="">
|
---|
[14982] | 38 |
|
---|
[23816] | 39 | <!-- NO FLAX START -->
|
---|
| 40 |
|
---|
[19959] | 41 | <!-- if linux|mac -->
|
---|
[15205] | 42 | <directory property="installDir"
|
---|
[19755] | 43 | defaultValue="/usr/local/Greenstone3,${env.HOME}/Greenstone3"
|
---|
[15205] | 44 | create="true"
|
---|
[17624] | 45 | displayText=""
|
---|
| 46 | flagFile="_uninst"
|
---|
| 47 | flagFileExistsProperty="ISInstallDetected"
|
---|
| 48 | />
|
---|
[19959] | 49 | <!-- /if -->
|
---|
| 50 | <!-- if windows -->
|
---|
| 51 | <directory property="installDir"
|
---|
| 52 | defaultValue="C:\Program Files\Greenstone3,${env.HOMEDRIVE}${env.HOMEPATH}\Greenstone3"
|
---|
| 53 | create="true"
|
---|
| 54 | displayText=""
|
---|
| 55 | flagFile="_uninst"
|
---|
| 56 | flagFileExistsProperty="ISInstallDetected"
|
---|
| 57 | />
|
---|
| 58 | <!-- /if -->
|
---|
[14982] | 59 |
|
---|
[23816] | 60 | <!-- NO FLAX END -->
|
---|
| 61 |
|
---|
| 62 | <!-- FLAX START -->
|
---|
| 63 |
|
---|
| 64 | <!-- if linux|mac -->
|
---|
| 65 | <directory property="installDir"
|
---|
| 66 | defaultValue="/usr/local/FLAX,${env.HOME}/FLAX"
|
---|
| 67 | create="true"
|
---|
| 68 | displayText=""
|
---|
| 69 | flagFile="_uninst"
|
---|
| 70 | flagFileExistsProperty="ISInstallDetected"
|
---|
| 71 | />
|
---|
| 72 | <!-- /if -->
|
---|
| 73 | <!-- if windows -->
|
---|
| 74 | <directory property="installDir"
|
---|
| 75 | defaultValue="C:\Program Files\FLAX,${env.HOMEDRIVE}${env.HOMEPATH}\FLAX"
|
---|
| 76 | create="true"
|
---|
| 77 | displayText=""
|
---|
| 78 | flagFile="_uninst"
|
---|
| 79 | flagFileExistsProperty="ISInstallDetected"
|
---|
| 80 | />
|
---|
| 81 | <!-- /if -->
|
---|
| 82 |
|
---|
| 83 | <!-- FLAX END -->
|
---|
| 84 |
|
---|
[14982] | 85 | </page>
|
---|
| 86 |
|
---|
[19935] | 87 | <!-- page to stop you going forward if an IS installation is detected -->
|
---|
[17624] | 88 | <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
|
---|
| 89 | <comment name="is-install-detected"/>
|
---|
| 90 | </page>
|
---|
| 91 |
|
---|
[19935] | 92 | <!-- page to choose components -->
|
---|
[15213] | 93 | <page type="input" name="selector" displayText="">
|
---|
[15205] | 94 | <comment name="choose-components"/>
|
---|
[14982] | 95 |
|
---|
[17764] | 96 | <target
|
---|
[17765] | 97 | target="Initialising"
|
---|
[17764] | 98 | diskRequirement="x"
|
---|
| 99 | defaultValue="true"
|
---|
| 100 | displayText="x"
|
---|
| 101 | force="true"
|
---|
| 102 | hidden="true"/>
|
---|
| 103 |
|
---|
[17281] | 104 | <target
|
---|
[17596] | 105 | target="Installing Core System"
|
---|
[17281] | 106 | diskRequirement="@component.size.core@"
|
---|
[17652] | 107 | displayText=""
|
---|
[17281] | 108 | defaultValue="true"
|
---|
[17652] | 109 | force="true"/>
|
---|
| 110 |
|
---|
[24216] | 111 | <!-- NO FLAX START -->
|
---|
| 112 |
|
---|
[17281] | 113 | <target
|
---|
[29337] | 114 | target="Adjusting Permissions"
|
---|
| 115 | diskRequirement="x"
|
---|
| 116 | defaultValue="true"
|
---|
| 117 | displayText="x"
|
---|
| 118 | hidden="true"/>
|
---|
| 119 |
|
---|
| 120 | <target
|
---|
[17646] | 121 | target="Installing ImageMagick"
|
---|
| 122 | diskRequirement="@component.size.imagemagick@"
|
---|
| 123 | defaultValue="true"
|
---|
| 124 | displayText=""/>
|
---|
| 125 |
|
---|
[19935] | 126 | <!-- if windows|mac -->
|
---|
[17646] | 127 | <target
|
---|
[19935] | 128 | target="Installing Ghostscript"
|
---|
| 129 | diskRequirement="@component.size.ghostscript@"
|
---|
| 130 | defaultValue="true"
|
---|
| 131 | displayText=""/>
|
---|
| 132 | <!-- /if -->
|
---|
| 133 |
|
---|
| 134 | <target
|
---|
[17596] | 135 | target="Installing Tomcat"
|
---|
[17281] | 136 | diskRequirement="@component.size.tomcat@"
|
---|
| 137 | defaultValue="true"
|
---|
| 138 | displayText=""/>
|
---|
| 139 |
|
---|
[22325] | 140 | <!-- start amp -->
|
---|
| 141 | <target
|
---|
| 142 | target="Installing AMP"
|
---|
| 143 | diskRequirement="@component.size.amp@"
|
---|
| 144 | defaultValue="true"
|
---|
| 145 | displayText=""/>
|
---|
| 146 | <!-- end amp -->
|
---|
| 147 |
|
---|
[19935] | 148 | <!-- if windows -->
|
---|
| 149 | <target
|
---|
| 150 | target="Installing Start Menu Shortcuts"
|
---|
| 151 | diskRequirement="~10 KB"
|
---|
| 152 | defaultValue="true"
|
---|
| 153 | displayText=""/>
|
---|
| 154 | <!-- /if -->
|
---|
| 155 |
|
---|
[24216] | 156 | <!-- NO FLAX END -->
|
---|
| 157 |
|
---|
| 158 | <!-- FLAX START -->
|
---|
| 159 |
|
---|
| 160 | <target
|
---|
| 161 | target="Installing ImageMagick"
|
---|
| 162 | diskRequirement="@component.size.imagemagick@"
|
---|
| 163 | defaultValue="true"
|
---|
| 164 | displayText=""
|
---|
| 165 | force="true"/>
|
---|
| 166 |
|
---|
| 167 | <target
|
---|
| 168 | target="Installing Tomcat"
|
---|
| 169 | diskRequirement="@component.size.tomcat@"
|
---|
| 170 | defaultValue="true"
|
---|
| 171 | displayText=""
|
---|
| 172 | force="true"/>
|
---|
| 173 |
|
---|
| 174 | <!-- if windows -->
|
---|
| 175 | <target
|
---|
| 176 | target="Installing Start Menu Shortcuts"
|
---|
| 177 | diskRequirement="~10 KB"
|
---|
| 178 | defaultValue="true"
|
---|
| 179 | displayText=""
|
---|
| 180 | force="true"/>
|
---|
| 181 | <!-- /if -->
|
---|
[29337] | 182 |
|
---|
[24216] | 183 | <!-- FLAX END -->
|
---|
[27379] | 184 |
|
---|
[14982] | 185 | </page>
|
---|
| 186 |
|
---|
[19935] | 187 | <!-- page to setup tomcat -->
|
---|
[26034] | 188 | <!--<page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText="">
|
---|
[15205] | 189 | <text property="tomcat.server" defaultValue="localhost" displayText=""/>
|
---|
[24602] | 190 | <text property="tomcat.port" defaultValue="8383" displayText=""/>
|
---|
| 191 | <text property="tomcat.shutdown.port" defaultValue="8305" displayText=""/>
|
---|
[26034] | 192 | </page>-->
|
---|
[25908] | 193 |
|
---|
| 194 | <!-- NO FLAX START -->
|
---|
[24437] | 195 |
|
---|
| 196 | <!-- page to ask if we should enable admin pages -->
|
---|
| 197 | <page type="input" name="admin-pages" displayText="">
|
---|
[29274] | 198 | <comment name="admin3-expl"/>
|
---|
| 199 | <comment name="admin3-expl-2"/>
|
---|
| 200 | <comment name="admin3-expl-3"/>
|
---|
| 201 | <checkbox property="set.admin.pwd" displayText="" defaultValue="false"/>
|
---|
[24437] | 202 | </page>
|
---|
[14982] | 203 |
|
---|
[24437] | 204 | <!-- only if they said yes above, set a password -->
|
---|
[29285] | 205 | <page type="input" name="admin-password" displayText="" ifProperty="(${set.admin.pwd}==true)" target="Configuring Administration Pages">
|
---|
[24437] | 206 | <comment name="admin-password-expl"/>
|
---|
[25336] | 207 | <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,8}$"/>
|
---|
[24437] | 208 | </page>
|
---|
[25908] | 209 | <!-- NO FLAX END -->
|
---|
[24437] | 210 |
|
---|
[19935] | 211 | <!-- the final progress page -->
|
---|
[17596] | 212 | <page type="progress" name="progress" showTargets="true" displayText=""/>
|
---|
[14982] | 213 |
|
---|
| 214 | </installer>
|
---|