diff packaging/tmp-createpackage.sh.in @ 794:fdc15f0cfdd8

(issue61) NSIS Write uninstall information and make URL configurable.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Jul 2014 12:03:45 +0200
parents a4e75d90d3f6
children 170b13ea05ee
line wrap: on
line diff
--- a/packaging/tmp-createpackage.sh.in	Tue Jul 15 10:42:36 2014 +0200
+++ b/packaging/tmp-createpackage.sh.in	Tue Jul 15 12:03:45 2014 +0200
@@ -19,6 +19,8 @@
 cp $NSSDIR/*.dll $TMPDIR
 cp $EXEFILES $TMPDIR
 
+EST_SIZE=$(du -s $TMPDIR | cut -f 1)
+
 echo $TMPDIR
 makensis -Dfiles_dir=$TMPDIR \
     -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
@@ -26,5 +28,7 @@
     -Dsetupname="@CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.exe" \
     -Dproductname="TrustBridge" \
     -Dpath_sep="/" \
+    -Dinfo_url="https://wald.intevation.org/projects/trustbridge/" \
+    -dsize=$EST_SIZE \
     -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi
 rm -r $TMPDIR

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