This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
installation.dtd
213 lines (194 loc) · 9.26 KB
/
installation.dtd
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
<?xml version="1.0" encoding="iso-8859-1" ?>
<!--
=====================================
The DTD for IzPack Installation Files
=====================================
$Id: installation.dtd 2682 2009-03-23 10:21:48Z fbuehlmann $
-->
<!-- The root element -->
<!ELEMENT installation (info, packaging?, properties?, variables?,dynamicvariables?,conditions?,installerrequirements?,
guiprefs?, locale, resources?, panels,
listeners?, packs, jar*, native*)>
<!ATTLIST installation version CDATA #REQUIRED>
<!-- The info section (general information on an installation) -->
<!ELEMENT info (appname, appversion, appsubpath?, authors?, url?, javaversion?, uninstaller?, webdir?, summarylogfilepath?,writeinstallationinformation?)>
<!ELEMENT appname (#PCDATA)>
<!ELEMENT appversion (#PCDATA)>
<!ELEMENT appsubpath (#PCDATA)>
<!ELEMENT authors (author*)>
<!ELEMENT author EMPTY>
<!ATTLIST author name CDATA #REQUIRED>
<!ATTLIST author email CDATA #REQUIRED>
<!ELEMENT url (#PCDATA)>
<!ELEMENT javaversion (#PCDATA)>
<!ELEMENT requiresjdk (#PCDATA)>
<!ELEMENT uninstaller EMPTY>
<!ATTLIST uninstaller write (yes|no) "yes">
<!ATTLIST uninstaller name CDATA "uninstaller.jar">
<!ATTLIST uninstaller condition CDATA #IMPLIED>
<!ATTLIST uninstaller path CDATA #IMPLIED>
<!ELEMENT webdir (#PCDATA)>
<!ELEMENT summarylogfilepath (#PCDATA)>
<!ELEMENT writeinstallationinformation (#PCDATA)>
<!ELEMENT packaging (packager, unpacker)>
<!ELEMENT packager (options)>
<!ATTLIST packager class CDATA #REQUIRED>
<!ELEMENT options EMPTY>
<!ATTLIST options volumesize CDATA #IMPLIED>
<!ATTLIST options firstvolumefreespace CDATA #IMPLIED>
<!ELEMENT unpacker EMPTY>
<!ATTLIST unpacker class CDATA #REQUIRED>
<!-- The properties markup (property declarations) -->
<!ELEMENT properties (property*)>
<!ELEMENT property EMPTY>
<!ATTLIST property name CDATA #IMPLIED>
<!ATTLIST property value CDATA #IMPLIED>
<!ATTLIST property file CDATA #IMPLIED>
<!ATTLIST property environment CDATA #IMPLIED>
<!ATTLIST property prefix CDATA #IMPLIED>
<!-- The variables markup (variable declarations) -->
<!ELEMENT variables (variable*)>
<!ELEMENT variable EMPTY>
<!ATTLIST variable name CDATA #REQUIRED>
<!ATTLIST variable value CDATA #REQUIRED>
<!ATTLIST variable condition CDATA #IMPLIED>
<!-- The conditions markup (condition declarations) -->
<!ELEMENT conditions (condition*)>
<!-- condition elements can have child elements depending on the specific type -->
<!ELEMENT condition EMPTY>
<!ATTLIST condition type CDATA #REQUIRED>
<!ATTLIST condition id CDATA #REQUIRED>
<!-- The installer requirements markup -->
<!ELEMENT installerrequirements (installerrequirement*)>
<!ELEMENT installerrequirement EMPTY>
<!ATTLIST installerrequirement condition CDATA #REQUIRED>
<!ATTLIST installerrequirement message CDATA #REQUIRED>
<!ELEMENT dynamicvariables (variables*)>
<!-- The guiprefs markup (customizes the installer in GUI mode) -->
<!ELEMENT guiprefs (laf*, modifier*)>
<!ATTLIST guiprefs resizable (yes|no) #REQUIRED>
<!ATTLIST guiprefs width CDATA #REQUIRED>
<!ATTLIST guiprefs height CDATA #REQUIRED>
<!ELEMENT laf (os+, param*)>
<!ATTLIST laf name CDATA #REQUIRED>
<!ELEMENT param EMPTY>
<!ATTLIST param
name CDATA #REQUIRED
value CDATA #REQUIRED>
<!-- Well defined modifier for gui characteristics.
Possible keys are "useButtonIcons" and
"useLabelIcons" both with value "yes" or "no".
-->
<!ELEMENT modifier EMPTY>
<!ATTLIST modifier key CDATA #REQUIRED>
<!ATTLIST modifier value CDATA #REQUIRED>
<!-- The locale section (indicates which langpacks to include) -->
<!ELEMENT locale (langpack+)>
<!ELEMENT langpack EMPTY>
<!ATTLIST langpack iso3 CDATA #REQUIRED>
<!-- The resources section (resources for the panel's usings) -->
<!ELEMENT resources (res*)>
<!ELEMENT res EMPTY>
<!ATTLIST res src CDATA #REQUIRED>
<!ATTLIST res id CDATA #REQUIRED>
<!ATTLIST res parse (yes|no) "no">
<!ATTLIST res type CDATA "plain">
<!ATTLIST res encoding CDATA #IMPLIED>
<!-- The panels section (indicates the panels to use) -->
<!ELEMENT panels (panel+)>
<!ELEMENT panel (os*)>
<!ATTLIST panel os (unix|windows|mac) #IMPLIED>
<!ATTLIST panel classname CDATA #REQUIRED>
<!ATTLIST panel condition CDATA #IMPLIED>
<!ATTLIST panel id CDATA #IMPLIED>
<!ATTLIST panel jar CDATA #IMPLIED>
<!-- The listener section (indicates which listener where to use) -->
<!ELEMENT listeners (listener*)>
<!ELEMENT listener ( os*)>
<!ATTLIST listener compiler CDATA #IMPLIED>
<!ATTLIST listener installer CDATA #IMPLIED>
<!ATTLIST listener uninstaller CDATA #IMPLIED>
<!ATTLIST listener jar CDATA #IMPLIED>
<!-- The packs section (indicates the packs to create) -->
<!ELEMENT packs ((pack|refpack)+)>
<!ELEMENT pack (description, os*, file*, singlefile*, fileset*, updatecheck?, parsable*, executable*, depends*)>
<!ATTLIST pack name CDATA #REQUIRED>
<!ATTLIST pack id CDATA #IMPLIED>
<!ATTLIST pack condition CDATA #IMPLIED>
<!ATTLIST pack packImgId IDREF #IMPLIED>
<!ATTLIST pack required (yes|no) #REQUIRED>
<!ATTLIST pack preselected (yes|no) "yes">
<!ATTLIST pack os (unix|windows|mac) #IMPLIED>
<!ATTLIST pack loose (true|false) "false">
<!ATTLIST pack group CDATA #IMPLIED>
<!ATTLIST pack installGroups CDATA #IMPLIED>
<!ATTLIST pack excludeGroup CDATA #IMPLIED>
<!ATTLIST pack uninstall (yes|no) "yes">
<!ATTLIST pack parent CDATA #IMPLIED>
<!ELEMENT description (#PCDATA)>
<!ELEMENT file (os*, additionaldata*)>
<!ATTLIST file src CDATA #REQUIRED>
<!ATTLIST file targetdir CDATA #REQUIRED>
<!ATTLIST file os (unix|windows|mac) #IMPLIED>
<!ATTLIST file override (true|false|asktrue|askfalse|update) "update">
<!ATTLIST file condition CDATA #IMPLIED>
<!ELEMENT singlefile (os*, additionaldata*)>
<!ATTLIST singlefile src CDATA #REQUIRED>
<!ATTLIST singlefile target CDATA #REQUIRED>
<!ATTLIST singlefile os (unix|windows|mac) #IMPLIED>
<!ATTLIST singlefile override (true|false|asktrue|askfalse|update) "update">
<!ATTLIST files condition CDATA #IMPLIED>
<!ELEMENT fileset (include*, exclude*, os*, additionaldata*)>
<!ATTLIST fileset dir CDATA #REQUIRED>
<!ATTLIST fileset targetdir CDATA #REQUIRED>
<!ATTLIST fileset casesensitive (yes|no) "yes">
<!ATTLIST fileset defaultexcludes (yes|no) "yes">
<!ATTLIST fileset os (unix|windows|mac) #IMPLIED>
<!ATTLIST fileset override (true|false|asktrue|askfalse|update) "update">
<!ATTLIST fileset includes CDATA #IMPLIED>
<!ATTLIST fileset excludes CDATA #IMPLIED>
<!ATTLIST fileset condition CDATA #IMPLIED>
<!ELEMENT include EMPTY>
<!ATTLIST include name CDATA #REQUIRED>
<!ELEMENT exclude EMPTY>
<!ATTLIST exclude name CDATA #REQUIRED>
<!ELEMENT additionaldata EMPTY>
<!ATTLIST additionaldata key CDATA #REQUIRED>
<!ATTLIST additionaldata value CDATA #REQUIRED>
<!ELEMENT parsable (os*)>
<!ATTLIST parsable targetfile CDATA #REQUIRED>
<!ATTLIST parsable type CDATA "plain">
<!ATTLIST parsable encoding CDATA #IMPLIED>
<!ATTLIST parsable os (unix|windows|mac) #IMPLIED>
<!ATTLIST parsable condition CDATA #IMPLIED>
<!ELEMENT executable (args?, os*)>
<!ATTLIST executable targetfile CDATA #IMPLIED>
<!ATTLIST executable class CDATA #IMPLIED>
<!ATTLIST executable type (bin|jar) "bin">
<!ATTLIST executable stage (postinstall|never|uninstall) "never">
<!ATTLIST executable failure (abort|warn|ask) "ask">
<!ATTLIST executable keep (true|false) "false">
<!ATTLIST executable condition CDATA #IMPLIED>
<!ELEMENT args (arg+)>
<!ELEMENT arg EMPTY>
<!ATTLIST arg value CDATA #REQUIRED>
<!ELEMENT os EMPTY>
<!ATTLIST os family (unix|windows|mac) #REQUIRED>
<!ATTLIST os name CDATA #IMPLIED>
<!ATTLIST os version CDATA #IMPLIED>
<!ATTLIST os arch CDATA #IMPLIED>
<!ELEMENT updatecheck (include*, exclude*)>
<!ELEMENT depends EMPTY>
<!ATTLIST depends packname CDATA #REQUIRED>
<!ELEMENT refpack EMPTY>
<!ATTLIST refpack file CDATA #REQUIRED>
<!-- Allows the inclusion in the installer or uninstaller of a native library -->
<!ELEMENT native (os*)>
<!ATTLIST native type (izpack|3rdparty) #REQUIRED>
<!ATTLIST native name CDATA #REQUIRED>
<!ATTLIST native stage (install|uninstall|both) "install">
<!ATTLIST native src CDATA #IMPLIED>
<!-- Allows the inclusion in the installer of an additional jar file content -->
<!ELEMENT jar EMPTY>
<!ATTLIST jar src CDATA #REQUIRED>
<!ATTLIST jar stage (install|uninstall|both) "install">