diff packaging/create-dist-package.sh.in @ 1134:f1384bf9d4a4

Mergerd
author Sascha Wilde <wilde@intevation.de>
date Wed, 17 Sep 2014 15:01:19 +0200
parents a162f4cbba75
children a974b61a5cce
line wrap: on
line diff
--- a/packaging/create-dist-package.sh.in	Wed Sep 17 13:13:33 2014 +0200
+++ b/packaging/create-dist-package.sh.in	Wed Sep 17 15:01:19 2014 +0200
@@ -40,11 +40,12 @@
 cp @CMAKE_SOURCE_DIR@/build-windows/ui/trustbridge.exe $TMPDIR/windows
 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/cinst.exe $TMPDIR/windows
 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/mozilla.exe $TMPDIR/windows
+cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources
+cp @CMAKE_SOURCE_DIR@/build-windows/packaging/DesktopShellRun.dll $TMPDIR/resources
 cp -r @CMAKE_BINARY_DIR@/manuals/help-manual/html $TMPDIR/windows/doc
 
 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR
 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR
-cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources
 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini
 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1)
 echo "version_number=@PROJECT_VERSION@" >>  $TMPDIR/meta.ini
@@ -58,7 +59,7 @@
 # Create a temporary NSIS file for the uninstaller cration
 LC_ALL="de_DE.latin-1" makensis -Dfiles_dir=$TMPDIR/windows \
     -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
-    -Dplugin_dir="@CMAKE_CURRENT_BINARY_DIR@" \
+    -Dplugin_dir="$TMPDIR/resources" \
     -Dversion_number=@PROJECT_VERSION@ \
     -Dsetupname="$TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe" \
     -Dproductname="TrustBridge" \

http://wald.intevation.org/projects/trustbridge/