source: release-kits/lirk3/bin/ant-installer/examples/buildtypes/releasenotes/installer/antinstall-config.xml@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 3.4 KB
Line 
1<?xml version="1.0"?>
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="true"
8 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
9 name="Demo Installer"
10 windowIcon="/resources/gkmain_inv.png"
11 defaultImageResource="/resources/greens.png"
12 minJavaVersion="1.4">
13 <!-- each page element represents a page of the installer -->
14 <page
15 type="input"
16 name="intro"
17 displayText="Welcome to the example installer program"
18 imageResource="/resources/greens.png">
19 <comment
20 displayText="This is a demo install"
21 title="true"/>
22 <comment
23 displayText="The application installed is yer typical Hello World"
24 bold="true"/>
25 <comment
26 displayText="There is not much more to be said really."/>
27 </page>
28 <!-- type="license" shows a license page to click through -->
29 <page
30 type="license"
31 name="license"
32 displayText="License conditions"
33 resource="/resources/GPL.txt"
34 imageResource="/resources/rockstiles.png">
35 </page>
36 <!-- type="input" shows a list of editable options for the installer -->
37 <page
38 type="input"
39 name="properties"
40 displayText="Required install options">
41 <directory
42 property="installDir"
43 defaultValue="/usr/local/demoapp"
44 defaultValueWin="${env.ProgramFiles}\demoapp"
45 displayText="Select an installation directory"
46 create="true"/>
47 </page>
48 <page
49 type="input"
50 name="selector"
51 displayText="Components to install">
52 <comment
53 displayText="Choose the components you want to install"
54 bold="true"/>
55 <target
56 displayText="Core components"
57 target="default"
58 defaultValue="true"
59 force="true"/>
60 <target
61 displayText="Source code"
62 target="tgsrc"
63 defaultValue="false"/>
64 <target
65 displayText="Documentation"
66 target="tgdoc"
67 defaultValue="true"/>
68 </page>
69 <!-- These are some other input types -->
70 <page
71 type="input"
72 name="other-input-types"
73 displayText="Pointless install options">
74 <text
75 property="myProperty"
76 defaultValue="blah blah"
77 displayText="Enter any text"/>
78 <checkbox
79 property="truefalseprop"
80 displayText="Make a boolean decision"
81 defaultValue="true"
82 force="false"/>
83 <select
84 property="colour"
85 defaultValue="#FF0000"
86 displayText="Choose the option"
87 explanatoryText="This field can be used on any input field to render further descriptive text
88 This field can be used on any input field to render further descriptive text">
89 <option text="Red" value="#FF0000"/>
90 <option text="Green" value="#00FF00"/>
91 <option text="Blue" value="#0000FF"/>
92 </select>
93 <file
94 property="selectedfile"
95 defaultValue="/usr/tomcat/webapps/default/WEB-INF/web.xml"
96 defaultValueWin="C:\autoexec.bat"
97 displayText="Select a file"
98 checkExists="false"/>
99 </page>
100 <page
101 type="input"
102 name="release notes"
103 displayText="Release Notes">
104 <comment
105 displayText="After Install Show Release Notes"
106 title="false"/>
107 <checkbox
108 property="show.release.notes"
109 displayText="Show release notes"
110 defaultValue="true"
111 force="false"/>
112 </page>
113 <!-- page type="progress" shows a progress page with the install button it is a requirement for the final page-->
114 <page type="progress" name="progress" displayText="Installation progress" showTargets="false"/>
115</installer>
116
117
Note: See TracBrowser for help on using the repository browser.