source: release-kits/wirk2/installer/antinstall-config.xml@ 19599

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

dont budge if there is an installshield install of greenstone at the chosen install directory

File size: 3.6 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
4<installer
5 ui="swing,text"
6 verbose="true"
7 debug="false"
8 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
9 name="Greenstone@version@ Installer"
10 windowIcon="/resources/icon.png"
11 defaultImageResource="/resources/header.png"
12 minJavaVersion="1.4">
13
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"/>
19 <option value="fr" text="Français (French)"/>
20 <option value="es" text="Español (Spanish)"/>
21 <option value="de" text="Deutsch (German)"/>
22 <option value="ru" text="русскОй язык (Russian)"/>
23 <option value="zh" text="äž­æ–‡ (Chinese)"/>
24 <option value="ar" text="Arabic"/>
25 </select>
26 </page>
27
28 <!-- start binary release -->
29 <page type="input" name="intro" displayText="">
30 <comment name="welcome-message"/>
31 </page>
32 <!-- end binary release -->
33
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
40 <!-- type="license" shows a license page to click through -->
41 <page type="license" name="license" resource="/LICENSE.txt" displayText="" />
42
43 <!-- install destination page -->
44 <page type="input" name="destination" displayText="">
45
46 <!-- Because of Vista UAC related issues, it is now preferred to install Greenstone where the current user has full privileges -->
47 <directory property="installDir"
48 defaultValue="${env.HOMEDRIVE}\${env.HOMEPATH}\Greenstone2"
49 create="true"
50 displayText=""
51 flagFile="_uninst"
52 flagFileExistsProperty="ISInstallDetected"
53 />
54
55 </page>
56
57 <page type="input" name="dontBudge" displayText="" ifProperty="(${ISInstallDetected}==true)" showNextButton="false">
58 <comment name="is-install-detected"/>
59 </page>
60
61 <!-- start binary release -->
62 <page type="input" name="selector" displayText="">
63 <comment name="choose-components"/>
64
65 <target
66 target="Looking For Previous Installation"
67 diskRequirement="x"
68 defaultValue="true"
69 displayText="x"
70 force="true"
71 hidden="true"/>
72
73 <target
74 target="Installing Core System"
75 diskRequirement="@component.size.core@"
76 displayText=""
77 defaultValue="true"
78 force="true"/>
79
80 <target
81 target="Installing Start Menu Shortcuts"
82 diskRequirement="~10 KB"
83 defaultValue="true"
84 displayText=""/>
85
86 <!-- start bundled components -->
87 <target
88 target="Installing ImageMagick"
89 diskRequirement="@component.size.imagemagick@"
90 defaultValue="true"
91 displayText=""/>
92
93 <target
94 target="Installing Ghostscript"
95 diskRequirement="@component.size.ghostscript@"
96 defaultValue="true"
97 displayText=""/>
98 <!-- end bundled components -->
99
100 </page>
101
102 <page type="input" name="admin-pages" displayText="">
103 <comment name="admin-expl"/>
104 <comment name="admin-expl-2"/>
105 <comment name="admin-expl-3"/>
106 <checkbox property="enable.admin.pages" displayText="" defaultValue="false"/>
107 </page>
108
109 <page type="input" name="admin-password" displayText="" ifProperty="(${enable.admin.pages}==true)" target="Configuring Administration Pages">
110 <comment name="admin-password-expl"/>
111 <validated property="admin.password" defaultValue="" displayText="" regex="^.{3,20}$"/>
112 </page>
113
114
115 <!-- end binary release -->
116
117 <page type="progress" name="progress" showTargets="true" displayText=""/>
118
119</installer>
Note: See TracBrowser for help on using the repository browser.