diff packaging/create-dist-package.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 438d7c88104f
children eef8e0ca82b9
line wrap: on
line diff
--- a/packaging/create-dist-package.sh.in	Tue Jul 15 10:42:36 2014 +0200
+++ b/packaging/create-dist-package.sh.in	Tue Jul 15 12:03:45 2014 +0200
@@ -23,9 +23,12 @@
 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
 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini
 echo "productname=TrustBridge" >> $TMPDIR/meta.ini
+echo "info_url=https://wald.intevation.org/projects/trustbridge/" >> $TMPDIR/meta.ino
+echo "size=$EST_SIZE" >> $TMPDIR/meta.ini
 cp $WINDOWS_NSSDIR/*.dll $TMPDIR/windows
 cd $TMPD
 zip -r TrustBridge-@PROJECT_VERSION@.zip TrustBridge-@PROJECT_VERSION@

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