NSIS: Actually call the elevation wrapper
authorDaniel Molkentin <danimo@owncloud.com>
Fri, 31 Jul 2015 16:25:17 +0000 (18:25 +0200)
committerDaniel Molkentin <danimo@owncloud.com>
Fri, 31 Jul 2015 16:25:17 +0000 (18:25 +0200)
cmake/modules/NSIS.template.in
cmake/modules/oc.nsi [new symlink]

index 9da9662863bd945d47f6e91272f43c813f8a72f6..e30c2f84d9526fcbe74f1ef29178b2a7688064a7 100644 (file)
@@ -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 (symlink)
index 0000000..7e7401b
--- /dev/null
@@ -0,0 +1 @@
+NSIS.template.in
\ No newline at end of file