summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/resources')
-rw-r--r--pdf-over-gui/src/main/resources/izpack-linux/customicons.xml9
-rw-r--r--pdf-over-gui/src/main/resources/izpack-linux/install.xml25
-rw-r--r--pdf-over-gui/src/main/resources/izpack-linux/unix_shortcutSpec.xml9
3 files changed, 30 insertions, 13 deletions
diff --git a/pdf-over-gui/src/main/resources/izpack-linux/customicons.xml b/pdf-over-gui/src/main/resources/izpack-linux/customicons.xml
index 6222001d..f877006c 100644
--- a/pdf-over-gui/src/main/resources/izpack-linux/customicons.xml
+++ b/pdf-over-gui/src/main/resources/izpack-linux/customicons.xml
@@ -1 +1,8 @@
-<icon res="/resources/JFrameIcon.png" id="JFrameIcon"/> \ No newline at end of file
+<izpack:icons version="5.0"
+ xmlns:izpack="http://izpack.org/schema/icons"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://izpack.org/schema/icons http://izpack.org/schema/5.0/izpack-icons-5.0.xsd">
+
+ <icon res="/resources/JFrameIcon.png" id="JFrameIcon"/>
+
+</izpack:icons>
diff --git a/pdf-over-gui/src/main/resources/izpack-linux/install.xml b/pdf-over-gui/src/main/resources/izpack-linux/install.xml
index ea22069d..1e95e93a 100644
--- a/pdf-over-gui/src/main/resources/izpack-linux/install.xml
+++ b/pdf-over-gui/src/main/resources/izpack-linux/install.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<installation version="1.0">
+<izpack:installation version="5.0"
+ xmlns:izpack="http://izpack.org/schema/installation"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd">
<info>
<appname>PDF-Over</appname>
@@ -10,9 +13,10 @@
<author name="A-SIT (Secure Information Technology Center - Austria)" email="" />
</authors>
<url>http://www.a-sit.at/</url>
+ <pack-compression-format>gz</pack-compression-format>
</info>
- <guiprefs resizable="yes" width="500" height="360">
+ <guiprefs resizable="yes" width="700" height="360">
<modifier key="useFlags" value="yes" />
<modifier key="langDisplayType" value="native" />
</guiprefs>
@@ -30,9 +34,6 @@
<res id="Installer.image.0" src="a-sit-icon.png" />
</resources>
- <native type="izpack" name="ShellLink.dll" />
- <native type="izpack" name="ShellLink_x64.dll" />
-
<variables>
<variable name="DesktopShortcutCheckboxEnabled" value="true" />
</variables>
@@ -41,22 +42,28 @@
<panel classname="HelloPanel" />
<panel classname="TargetPanel" />
<panel classname="InstallPanel" />
- <panel classname="ShortcutPanel" />
+ <panel classname="ShortcutPanel" allowClose="true" />
<panel classname="SimpleFinishPanel" />
- <panel classname="ProcessPanel"/>
</panels>
+ <natives> <!-- required to run installer on windows for debug -->
+ <native type="izpack" name="ShellLink.dll"/>
+ <native type="izpack" name="ShellLink_x64.dll"/>
+ </natives>
+
<packs>
<pack name="main" required="yes">
<description>Main Installation</description>
<updatecheck>
<include name="lib/**" />
</updatecheck>
- <file src="lib" targetdir="$INSTALL_PATH" />
+ <fileset dir="lib" targetdir="$INSTALL_PATH/lib" />
<file src="pdf-over_linux.sh" targetdir="$INSTALL_PATH" />
<file src="uninstall_linux.sh" targetdir="$INSTALL_PATH" />
<file src="icons" targetdir="$INSTALL_PATH" />
<file src="ReadMe.txt" targetdir="$INSTALL_PATH" />
+
+ <!-- set executable bit, do not actually execute -->
<executable targetfile="$INSTALL_PATH/pdf-over_linux.sh" stage="never" />
<executable targetfile="$INSTALL_PATH/uninstall_linux.sh" stage="never" />
</pack>
@@ -64,4 +71,4 @@
-</installation>
+</izpack:installation>
diff --git a/pdf-over-gui/src/main/resources/izpack-linux/unix_shortcutSpec.xml b/pdf-over-gui/src/main/resources/izpack-linux/unix_shortcutSpec.xml
index 60e2666d..5117a03e 100644
--- a/pdf-over-gui/src/main/resources/izpack-linux/unix_shortcutSpec.xml
+++ b/pdf-over-gui/src/main/resources/izpack-linux/unix_shortcutSpec.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<shortcuts>
+<izpack:shortcuts version="5.0"
+ xmlns:izpack="http://izpack.org/schema/shortcuts"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd">
<!-- <skipIfNotSupported/> -->
<programGroup defaultName="PDF-Over"
location="applications"/>
@@ -12,7 +15,7 @@
applications="no"
startMenu="no"
startup="no"
- target="$INSTALL_PATH/scripts/pdf-over_linux.sh"
+ target="$INSTALL_PATH/pdf-over_linux.sh"
commandLine=""
workingDirectory="$INSTALL_PATH"
description="PDF-Over ${project.version}"
@@ -26,4 +29,4 @@
<createForPack name="main"/>
</shortcut>
-</shortcuts>
+</izpack:shortcuts>