comparison packaging/win-createpackage.sh.in @ 1118:fd85a02d771d

(issue54) Implement a privilege drop to execute the program after installation. This commit is extremly ugly as I accidentally worked in a working tree that was partially merged with default. To review the real change please check the commit that will merge this branch into default.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Sep 2014 19:45:19 +0200
parents 1c1964c27b39 461db8f903f5
children e210ecc32d69
comparison
equal deleted inserted replaced
1117:5b6203f78b4e 1118:fd85a02d771d
24 echo $TMPDIR 24 echo $TMPDIR
25 export LC_ALL="de_DE.latin-1" 25 export LC_ALL="de_DE.latin-1"
26 26
27 makensis -Dfiles_dir=$TMPDIR \ 27 makensis -Dfiles_dir=$TMPDIR \
28 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ 28 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
29 -Dplugin_dir="@CMAKE_CURRENT_BINARY_DIR@" \
29 -Dversion_number=@PROJECT_VERSION@ \ 30 -Dversion_number=@PROJECT_VERSION@ \
30 -Dsetupname="$TMPINST" \ 31 -Dsetupname="$TMPINST" \
31 -Dproductname="TrustBridge" \ 32 -Dproductname="TrustBridge" \
32 -Ddescription="TrustBridge" \ 33 -Ddescription="TrustBridge" \
33 -Dpath_sep="/" \ 34 -Dpath_sep="/" \
40 rmdir ~/.wine/drive_c/tmp-uninstaller 41 rmdir ~/.wine/drive_c/tmp-uninstaller
41 rm $TMPINST 42 rm $TMPINST
42 43
43 makensis -Dfiles_dir=$TMPDIR \ 44 makensis -Dfiles_dir=$TMPDIR \
44 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ 45 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
46 -Dplugin_dir="@CMAKE_CURRENT_BINARY_DIR@" \
45 -Dversion_number=@PROJECT_VERSION@ \ 47 -Dversion_number=@PROJECT_VERSION@ \
46 -Dsetupname="@CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.exe" \ 48 -Dsetupname="@CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.exe" \
47 -Dproductname="TrustBridge" \ 49 -Dproductname="TrustBridge" \
48 -Ddescription="TrustBridge" \ 50 -Ddescription="TrustBridge" \
49 -Dpath_sep="/" \ 51 -Dpath_sep="/" \

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