source: release-kits/wirk3/ant-scripts/create-installer.xml@ 16930

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

dont overwrite startmenu shortcuts for repeat installs unless they are over-installs

File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="wirk3-create-installer" default="create-installer">
3
4 <target name="create-installer">
5 <antcall target="copy-installer-files"/>
6 <antcall target="make-installer-files-concrete"/> <!-- from rk3-targets -->
7 <antcall target="compile-installer"/>
8 </target>
9
10 <target name="copy-installer-files">
11 <echo>Getting things ready to compile the installer</echo>
12 <mkdir dir="${basedir}/installer/resources"/>
13 <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml"/>
14 <copy todir="${basedir}/installer" file="${wirk3.home}/installer/build.xml"/>
15 <copy todir="${basedir}/installer/classes">
16 <fileset dir="${wirk3.home}/windows/installer-classes"/>
17 <fileset dir="${wirk3.home}/greenstone3/installer-classes"/>
18 <fileset dir="${wirk3.home}/ant-scripts/tasks/orans" includes="RegexSearchReplace.class" />
19 <fileset dir="${wirk3.home}/ant-scripts/tasks/orans" includes="GetFreePath.class" />
20 </copy>
21 </target>
22
23 <target name="compile-installer">
24 <installer file="${basedir}/installer/greenstone-${version}-win32.jar"
25 compress="true"
26 extractType="NonExtractor"
27 installConfig="${basedir}/installer/antinstall-config.xml"
28 buildFile="${basedir}/installer/build.xml"
29 antInstallLib="${wirk3.home}/packages/ant-installer/lib"
30 antLib="${wirk3.home}/packages/ant/lib"
31 validateConfig="true"
32 icons="bluecurve">
33
34 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
35 <zipfileset dir="${basedir}/distribution/greenstone3" includes="**/*" />
36
37 </installer>
38 </target>
39
40</project>
Note: See TracBrowser for help on using the repository browser.