diff options
author | Holger Zickner <[email protected]> | 2004-10-25 15:15:26 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-10-25 15:15:26 +0000 |
commit | dbf7fe54e41a0c9dccd01a34bbe8c98091185e7f (patch) | |
tree | 72f91d9e39b39eee0417dc742a1cc63721c081a5 | |
parent | 7e2207ab03e4a12b502cb19065d0698516196a9c (diff) |
shortcut creation for windows
-rw-r--r-- | install.xml | 149 | ||||
-rw-r--r-- | shortcutSpec.xml | 39 |
2 files changed, 116 insertions, 72 deletions
diff --git a/install.xml b/install.xml index d21d469..8b207bd 100644 --- a/install.xml +++ b/install.xml @@ -1,72 +1,77 @@ -<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-
-
-<installation version="1.0">
-
- <info>
- <appname>Jake2</appname>
- <appversion>cvs</appversion>
- <authors>
- <author name="Bytonic Software" email="[email protected]"/>
- </authors>
- <url>http://www.bytonic.de</url>
- </info>
-
- <guiprefs width="640" height="480" resizable="no"/>
-
- <locale>
- <langpack iso3="eng"/>
- </locale>
-
- <resources>
- <res id="LicencePanel.licence" src="LICENSE"/>
- <res id="InfoPanel.info" src="README"/>
- <!-- res id="Installer.image" src="../resources/icon.png"/ -->
- </resources>
-
- <panels>
- <panel classname="HelloPanel"/>
- <panel classname="InfoPanel"/>
- <panel classname="LicencePanel"/>
- <panel classname="TargetPanel"/>
- <panel classname="PacksPanel"/>
- <panel classname="InstallPanel"/>
- <panel classname="SimpleFinishPanel"/>
- </panels>
-
- <packs>
- <pack name="Jake2" required="yes">
- <description>Jake2 files</description>
- <fileset dir="." targetdir="$INSTALL_PATH">
- <include name="*"/>
- <include name="lib/*.jar"/>
- <exclude name="*.bat"/>
- <exclude name="*.sh"/>
- </fileset>
- <executable type="jar"
- targetfile="$INSTALL_PATH/lib/jake2.jar"
- class="jake2.install.Q2DataInstaller"
- stage="postinstall"
- keep="true">
- <args>
- <arg value="$INSTALL_PATH"/>
- </args>
- </executable>
- </pack>
- <pack name="Linux libraries and scripts" required="yes">
- <os name="Linux" arch="i386"/>
- <description>jogl and joal libraries for Linux</description>
- <file src="lib/linux" targetdir="$INSTALL_PATH/lib"/>
- <file src="Jake2.sh" targetdir="$INSTALL_PATH"/>
- <executable targetfile="$INSTALL_PATH/Jake2.sh" stage="never"/>
- </pack>
- <pack name="Windows libraries and scripts" required="yes">
- <os family="windows" arch="i386"/>
- <description>jogl and joal libraries for Windows</description>
- <file src="lib/windows" targetdir="$INSTALL_PATH/lib"/>
- <file src="Jake2.bat" targetdir="$INSTALL_PATH"/>
- <executable targetfile="$INSTALL_PATH/Jake2.bat" stage="never"/>
- </pack>
- </packs>
-
-</installation>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> + + +<installation version="1.0"> + + <info> + <appname>Jake2</appname> + <appversion>cvs</appversion> + <authors> + <author name="Bytonic Software" email="[email protected]"/> + </authors> + <url>http://www.bytonic.de</url> + </info> + + <guiprefs width="640" height="480" resizable="no"/> + + <locale> + <langpack iso3="eng"/> + </locale> + + <resources> + <res id="LicencePanel.licence" src="LICENSE"/> + <res id="InfoPanel.info" src="README"/> + <res src="../shortcutSpec.xml" id="shortcutSpec.xml" /> + <!-- res id="Installer.image" src="../resources/icon.png"/ --> + </resources> + + <panels> + <panel classname="HelloPanel"/> + <panel classname="InfoPanel"/> + <panel classname="LicencePanel"/> + <panel classname="TargetPanel"/> + <panel classname="PacksPanel"/> + <panel classname="InstallPanel"/> + <panel classname="ShortcutPanel"/> + <panel classname="SimpleFinishPanel"/> + </panels> + + <packs> + <pack name="Jake2" required="yes"> + <description>Jake2 files</description> + <fileset dir="." targetdir="$INSTALL_PATH"> + <include name="*"/> + <include name="lib/*.jar"/> + <exclude name="*.bat"/> + <exclude name="*.sh"/> + <exclude name="*.ico"/> + </fileset> + <executable type="jar" + targetfile="$INSTALL_PATH/lib/jake2.jar" + class="jake2.install.Q2DataInstaller" + stage="postinstall" + keep="true"> + <args> + <arg value="$INSTALL_PATH"/> + </args> + </executable> + </pack> + <pack name="Linux libraries and scripts" required="yes"> + <os name="Linux" arch="i386"/> + <description>jogl and joal libraries for Linux</description> + <file src="lib/linux" targetdir="$INSTALL_PATH/lib"/> + <file src="Jake2.sh" targetdir="$INSTALL_PATH"/> + <executable targetfile="$INSTALL_PATH/Jake2.sh" stage="never"/> + </pack> + <pack name="Windows libraries and scripts" required="yes"> + <os family="windows"/> + <description>jogl and joal libraries for Windows</description> + <file src="lib/windows" targetdir="$INSTALL_PATH/lib"/> + <file src="Jake2.bat" targetdir="$INSTALL_PATH"/> + <executable targetfile="$INSTALL_PATH/Jake2.bat" stage="never"/> + </pack> + </packs> + + <native type="izpack" name="ShellLink.dll"/> + +</installation> diff --git a/shortcutSpec.xml b/shortcutSpec.xml new file mode 100644 index 0000000..b1cef15 --- /dev/null +++ b/shortcutSpec.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + + <programGroup defaultName="Jake2" location="applications"/> + + + <shortcut + name="Jake2" + programGroup="yes" + desktop="no" + applications="no" + startMenu="no" + startup="no" + target="$INSTALL_PATH/Jake2.bat" + workingDirectory="$INSTALL_PATH" + commandLine="" + description="Jake2" + initialState="noShow"> + + <createForPack name="Windows libraries and scripts"/> + + </shortcut> + + <shortcut + name="Uninstaller" + programGroup="yes" + desktop="no" + applications="no" + startMenu="no" + startup="no" + target="$INSTALL_PATH/Uninstaller/uninstaller.jar" + commandLine="" + description="uninstall Jake2"> + + <createForPack name="Windows libraries and scripts"/> + </shortcut> + +</shortcuts> |