[15146] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[15023] | 2 | <!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd">
|
---|
[15356] | 3 |
|
---|
[15023] | 4 | <installer
|
---|
| 5 | ui="swing,text"
|
---|
| 6 | verbose="true"
|
---|
| 7 | debug="false"
|
---|
| 8 | lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
|
---|
[16087] | 9 | name="Greenstone@version@ Installer"
|
---|
[16079] | 10 | windowIcon="/resources/icon.png"
|
---|
| 11 | defaultImageResource="/resources/header.png"
|
---|
[15023] | 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 |
|
---|
[17827] | 28 | <!-- start binary release -->
|
---|
[15356] | 29 | <page type="input" name="intro" displayText="">
|
---|
| 30 | <comment name="welcome-message"/>
|
---|
[15023] | 31 | </page>
|
---|
[17827] | 32 | <!-- end binary release -->
|
---|
[15023] | 33 |
|
---|
[17827] | 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 |
|
---|
[15023] | 40 | <!-- type="license" shows a license page to click through -->
|
---|
[17041] | 41 | <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
|
---|
[15023] | 42 |
|
---|
[15356] | 43 | <!-- install destination page -->
|
---|
| 44 | <page type="input" name="destination" displayText="">
|
---|
[17924] | 45 |
|
---|
[19599] | 46 | <!-- Because of Vista UAC related issues, it is now preferred to install Greenstone where the current user has full privileges -->
|
---|
[15356] | 47 | <directory property="installDir"
|
---|
[17924] | 48 | defaultValue="${env.HOMEDRIVE}\${env.HOMEPATH}\Greenstone2"
|
---|
[15356] | 49 | create="true"
|
---|
[19599] | 50 | displayText=""
|
---|
| 51 | flagFile="_uninst"
|
---|
| 52 | flagFileExistsProperty="ISInstallDetected"
|
---|
| 53 | />
|
---|
[15023] | 54 |
|
---|
| 55 | </page>
|
---|
| 56 |
|
---|
[19599] | 57 | <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
|
---|
| 58 | <comment name="is-install-detected"/>
|
---|
| 59 | </page>
|
---|
| 60 |
|
---|
[17786] | 61 | <!-- start binary release -->
|
---|
[15356] | 62 | <page type="input" name="selector" displayText="">
|
---|
| 63 | <comment name="choose-components"/>
|
---|
[15023] | 64 |
|
---|
[17281] | 65 | <target
|
---|
[17583] | 66 | target="Looking For Previous Installation"
|
---|
| 67 | diskRequirement="x"
|
---|
| 68 | defaultValue="true"
|
---|
| 69 | displayText="x"
|
---|
| 70 | force="true"
|
---|
| 71 | hidden="true"/>
|
---|
| 72 |
|
---|
| 73 | <target
|
---|
[17576] | 74 | target="Installing Core System"
|
---|
[17281] | 75 | diskRequirement="@component.size.core@"
|
---|
[17652] | 76 | displayText=""
|
---|
[17281] | 77 | defaultValue="true"
|
---|
[17652] | 78 | force="true"/>
|
---|
| 79 |
|
---|
| 80 | <target
|
---|
[17576] | 81 | target="Installing Start Menu Shortcuts"
|
---|
[17281] | 82 | diskRequirement="~10 KB"
|
---|
| 83 | defaultValue="true"
|
---|
| 84 | displayText=""/>
|
---|
| 85 |
|
---|
[17583] | 86 | <!-- start bundled components -->
|
---|
[17281] | 87 | <target
|
---|
[17583] | 88 | target="Installing ImageMagick"
|
---|
[17576] | 89 | diskRequirement="@component.size.imagemagick@"
|
---|
[17381] | 90 | defaultValue="true"
|
---|
| 91 | displayText=""/>
|
---|
[17597] | 92 |
|
---|
[17381] | 93 | <target
|
---|
[17576] | 94 | target="Installing Ghostscript"
|
---|
| 95 | diskRequirement="@component.size.ghostscript@"
|
---|
[17381] | 96 | defaultValue="true"
|
---|
| 97 | displayText=""/>
|
---|
[17583] | 98 | <!-- end bundled components -->
|
---|
[19624] | 99 |
|
---|
| 100 | <!-- start cdrom -->
|
---|
| 101 |
|
---|
| 102 | <!-- the size of this component has to be maintained manually as we can't
|
---|
| 103 | know at compile time how big the documented examples are -->
|
---|
| 104 | <target
|
---|
| 105 | target="Installing Documented Examples"
|
---|
| 106 | diskRequirement="108 MB"
|
---|
| 107 | defaultValue="true"
|
---|
| 108 | displayText=""/>
|
---|
| 109 | <!-- end cdrom -->
|
---|
| 110 |
|
---|
[17583] | 111 |
|
---|
[15023] | 112 | </page>
|
---|
| 113 |
|
---|
[19201] | 114 | <page type="input" name="admin-pages" displayText="">
|
---|
| 115 | <comment name="admin-expl"/>
|
---|
| 116 | <comment name="admin-expl-2"/>
|
---|
| 117 | <comment name="admin-expl-3"/>
|
---|
| 118 | <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
|
---|
| 119 | </page>
|
---|
| 120 |
|
---|
| 121 | <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
|
---|
[17107] | 122 | <comment name="admin-password-expl"/>
|
---|
[19201] | 123 | <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
|
---|
[17107] | 124 | </page>
|
---|
[19201] | 125 |
|
---|
| 126 |
|
---|
[17786] | 127 | <!-- end binary release -->
|
---|
[17107] | 128 |
|
---|
[17597] | 129 | <page type="progress" name="progress" showTargets="true" displayText=""/>
|
---|
[15023] | 130 |
|
---|
| 131 | </installer>
|
---|