comparison packaging/CMakeLists.txt @ 1119:5349e2354c48

(issue54) Merge branch runafterinstall There is now an NSIS Plugin that executes the Software after installation using COM in the shell of the current user. With the way over the shell there is no inheritance / token management required. As it is impossible to drop all privileges of a token granted by UAC and still be able to reelevate the Token again with another RunAs call later this round trip over the Shell was necessary.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Sep 2014 19:48:22 +0200
parents fd85a02d771d
children 1c9001db6ea2
comparison
equal deleted inserted replaced
1117:5b6203f78b4e 1119:5349e2354c48
1 # Configure packaging script for testing
2 configure_file (win-createpackage.sh.in win-createpackage.sh @ONLY)
3 configure_file (create-dist-package.sh.in create-dist-package.sh @ONLY)
4 configure_file (linux-createpackage.sh.in linux-createpackage.sh @ONLY)
5 configure_file (linux-installer.inc.in linux-installer.inc @ONLY)
6 configure_file (linux-installer.l10n-de linux-installer.l10n-de COPYONLY)
7
8 if (WIN32)
9 # Build the nss safer plugin.
10 include_directories(${CMAKE_SOURCE_DIR}/common)
11
12 add_library(desktopshellrun SHARED desktopshellrun.cpp)
13 target_link_libraries(desktopshellrun
14 trustbridge_common
15 -luserenv
16 -lshell32
17 -lcrypt32
18 -lssp
19 -lshlwapi
20 ${POLARSSL_LIBRARIES}) # trustbridge_common pulls it in.
21 set_target_properties(desktopshellrun PROPERTIES PREFIX "")
22 set_target_properties(desktopshellrun PROPERTIES OUTPUT_NAME "DesktopShellRun")
23 endif()

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