[Pkg-owncloud-commits] [owncloud-client] 423/498: NSIS: Actually call the elevation wrapper

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit f66ebb2f1eaf8f40533211bbdf0f518ede175d95
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Fri Jul 31 18:25:17 2015 +0200

    NSIS: Actually call the elevation wrapper
---
 cmake/modules/NSIS.template.in | 1 +
 cmake/modules/oc.nsi           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in
index 9da9662..e30c2f8 100644
--- a/cmake/modules/NSIS.template.in
+++ b/cmake/modules/NSIS.template.in
@@ -720,6 +720,7 @@ Function .onInit
    ${MementoSectionRestore}
 
    UAC_TryAgain:
+      !insertmacro UAC_RunElevated
       ${Switch} $0
       ${Case} 0
           ${IfThen} $1 = 1 ${|} Quit ${|} ;we are the outer process, the inner process has done its work, we are done
diff --git a/cmake/modules/oc.nsi b/cmake/modules/oc.nsi
new file mode 120000
index 0000000..7e7401b
--- /dev/null
+++ b/cmake/modules/oc.nsi
@@ -0,0 +1 @@
+NSIS.template.in
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list