-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathantinstall-config.xml
289 lines (256 loc) · 9.37 KB
/
antinstall-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<?xml version="1.0"?>
<!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd">
<!--
Copyright (c) 2011-2015, David C. Epler
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<installer
ui="swing,text"
verbose="true"
debug="false"
loadDefaults="false"
lookAndFeel="native"
antialiased="true"
name="Unofficial Updater 2"
windowIcon="/resources/images/Uu2-icon.png"
defaultImageResource="/resources/images/background-bar.png"
minJavaVersion="1.5"
finishButtonText=" GO! "
wide="600:250"
version="2015.02.14">
<page type="input" name="welcome" displayText="Welcome to Unofficial Updater 2">
<hidden property="firstRun" value="true" />
<hidden property="enableAuto" value="false" />
<hidden property="downloadOnly" value="false" />
<comment displayText="" />
<comment displayText="Please read the next screen completely before using" title="true" />
<comment displayText="" />
<comment displayText="Unofficial Updater 2 Release" bold="true" />
<comment displayText="2015.02.14"/>
<comment displayText="" />
<comment displayText="Latest Patch Applied" bold="true" />
<comment displayText="APSB14-23 - October 14, 2014"/>
</page>
<page type="text" name="Intro" displayText="Important Information" htmlResource="/important.htm" textResource="/important.md" />
<!-- first run -->
<page
type="input"
name="first_run"
overflow="true"
displayText="First Run of Unofficial Updater 2"
ifProperty="${firstRun}==true">
<comment displayText="Since this is the first time this version of Unofficial Updater 2" />
<comment displayText="has been run, it will download ALL updates from Adobe then pack" />
<comment displayText="them into a new Unofficial-Updater2-with-downloads.jar that can" />
<comment displayText="be run again without connecting to the Internet" />
<comment displayText="" />
<select
property="needProxy"
defaultValue="no"
displayText="Need to use a proxy?">
<option text="No" value="no"/>
<option text="Yes" value="yes"/>
</select>
<comment displayText="" />
<select
property="enableAuto"
defaultValue="no"
displayText="Enable cmdline automation?">
<option text="No" value="no"/>
<option text="Yes" value="yes"/>
</select>
<comment displayText="" />
<select
property="downloadOnly"
defaultValue="true"
displayText="What should UU2 do?">
<option text="Download Only" value="true"/>
<option text="Download and Apply" value="false"/>
</select>
</page>
<!-- need some basic info how ColdFusion is installed, probably a way to probe for this -->
<page
type="input"
name="cf_install"
displayText="How is ColdFusion Installed?"
ifProperty="${downloadOnly}==false">
<select
property="installType"
defaultValue="standalone"
displayText="Installation Type">
<option text="Standalone" value="standalone"/>
<option text="Multi-Server JRun 4" value="jrun"/>
<option text="J2EE EAR/WAR" value="j2ee"/>
</select>
</page>
<!-- get proxy information -->
<page
type="input"
name="proxy"
displayText="Proxy Configuration"
ifProperty="${needProxy}==yes">
<text displayText="Proxy Host" property="proxyHost" defaultValue="" />
<text displayText="Proxy Port" property="proxyPort" defaultValue="80" />
<text displayText="Proxy User" property="proxyUser" defaultValue="" />
<password displayText="Proxy Password" regex=".*" property="proxyPassword" defaultValue="" textMask="true" />
</page>
<!-- get installation values for standalone -->
<page
type="input"
name="cf_install_standalone"
displayText="Where is ColdFusion Installed? (Standalone)"
ifProperty="(${installType}==standalone) AND (${downloadOnly}==false)">
<hidden property="install_unix" value="/opt/coldfusion8" />
<hidden property="install_win" value="C:\ColdFusion8" />
<hidden property="jrunInstallDir" value="" />
<comment displayText="UU2 validates that the directories exist and are correct" />
<comment displayText="" />
<app-root
property="cfInstallDir"
defaultValue="${install_unix}"
defaultValueWin="${install_win}"
displayText="ColdFusion directory"
checkFile1="lib/cfusion.jar"/>
<app-root
property="webinfDir"
defaultValue="${install_unix}/wwwroot/WEB-INF"
defaultValueWin="${install_win}\wwwroot\WEB-INF"
displayText="WEB-INF directory"
checkFile1="lib/cfmx_bootstrap.jar"/>
<app-root
property="cfideDir"
defaultValue="${install_unix}/wwwroot/CFIDE"
defaultValueWin="${install_win}\wwwroot\CFIDE"
displayText="CFIDE directory"
checkFile1="administrator/Application.cfm"/>
</page>
<!-- get installation values for jrun -->
<page
type="input"
name="cf_install_jrun"
displayText="Where is ColdFusion Installed? (Multi-Server JRun 4)"
ifProperty="(${installType}==jrun) AND (${downloadOnly}==false)">
<hidden property="cfInstallDir" value="" />
<hidden property="install_unix" value="/opt/jrun4" />
<hidden property="install_win" value="C:\JRun4" />
<comment displayText="UU2 validates that the directories exist and are correct" />
<comment displayText="" />
<app-root
property="jrunInstallDir"
defaultValue="${install_unix}"
defaultValueWin="${install_win}"
displayText="JRun4 directory"
checkFile1="servers/admin/jmc-app.ear"/>
<app-root
property="webinfDir"
defaultValue="${install_unix}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF"
defaultValueWin="${install_win}\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF"
displayText="WEB-INF directory"
checkFile1="lib/cfmx_bootstrap.jar"/>
<app-root
property="cfideDir"
defaultValue="${install_unix}/servers/cfusion/cfusion-ear/cfusion-war/CFIDE"
defaultValueWin="${install_win}\servers\cfusion\cfusion-ear\cfusion-war\CFIDE"
displayText="CFIDE directory"
checkFile1="administrator/Application.cfm"/>
</page>
<!-- get installation values for j2ee -->
<page
type="input"
name="cf_install_j2ee"
displayText="Where is ColdFusion Installed? (J2EE EAR/WAR)"
ifProperty="(${installType}==j2ee) AND (${downloadOnly}==false)">
<hidden property="cfInstallDir" value="" />
<hidden property="jrunInstallDir" value="" />
<comment displayText="UU2 validates that the directories exist and are correct" />
<comment displayText="" />
<!-- no idea what the values could be given possible setups (JBoss, Tomcat, etc.) -->
<app-root
property="webinfDir"
defaultValue="/"
defaultValueWin="C:\"
displayText="WEB-INF directory"
checkFile1="lib/cfmx_bootstrap.jar"/>
<app-root
property="cfideDir"
defaultValue="/"
defaultValueWin="C:\"
displayText="CFIDE directory"
checkFile1="administrator/Application.cfm"/>
</page>
<!-- get backup directory -->
<page
type="input"
name="backup"
displayText="Where should UU2 create backups?"
ifProperty="${downloadOnly}==false">
<comment displayText="UU2 creates backups of all directories it modifies as .zip" />
<comment displayText="" />
<directory
property="backupDir"
displayText="Backup Directory"
defaultValue="/tmp"
defaultValueWin="${user.dir}"
create="true"
checkExists="true" />
<comment displayText="" />
<select
property="excludeCFClasses"
defaultValue="no"
displayText="Exclude WEB-INF/cfclasses">
<option text="No" value="no"/>
<option text="Yes" value="yes"/>
</select>
</page>
<page
type="input"
name="confirm"
displayText="Confirm Settings"
overflow="true"
ifProperty="${downloadOnly}==false">
<!-- set additional paths -->
<conditional ifProperty="${installType}==standalone">
<hidden property="cfusionLibDir" value="${cfInstallDir}/lib" />
</conditional>
<conditional ifProperty="${installType}!=standalone">
<hidden property="cfusionLibDir" value="${webinfDir}/cfusion/lib" />
</conditional>
<hidden property="hotfixDir" value="${cfusionLibDir}/updates" />
<comment displayText="Install Type:" bold="true" />
<comment displayText="${installType}"/>
<comment displayText="" />
<comment displayText="WEB-INF Directory:" bold="true" />
<comment displayText="${webinfDir}"/>
<comment displayText="CFIDE Directory:" bold="true" />
<comment displayText="${cfideDir}"/>
<comment displayText="CFusion Lib Directory:" bold="true" />
<comment displayText="${cfusionLibDir}"/>
<comment displayText="" />
<comment displayText="Backup Directory:" bold="true" />
<comment displayText="${backupDir}"/>
<comment displayText="Exclude WEB-INF/cfclasses:" bold="true" />
<comment displayText="${excludeCFClasses}"/>
<comment displayText="" />
<select
property="applyUpdate"
defaultValue="yes"
displayText="Apply Update to the above?">
<option text="Yes" value="yes"/>
<option text="No" value="no"/>
</select>
</page>
<page
type="progress"
name="progress"
displayText="Progress"
showTargets="false">
</page>
</installer>