Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2015-09-17 14:37:48 +0300
committerDaniel Molkentin <danimo@owncloud.com>2015-09-17 14:40:02 +0300
commit38eaf241fa98ec3cdcd56a1096a05232aeccdf23 (patch)
tree7cc88915bedc990912620bfe5aa59f59037f0719 /cmake
parent8f8bf98ca63c3e3a2bc64101067e22c04e1328c4 (diff)
NSIS: Try to ignore (invalid) errors from NSIS UAC
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/NSIS.template.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in
index 98d5a3df6..8e1b8a5de 100644
--- a/cmake/modules/NSIS.template.in
+++ b/cmake/modules/NSIS.template.in
@@ -741,6 +741,8 @@ Function .onInit
Quit
${EndSwitch}
+ ClearError
+
;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${APPLICATION_SHORTNAME}Installer") i .r1 ?e'
Pop $R0
@@ -806,6 +808,8 @@ Function un.onInit
Quit
${EndSwitch}
+ ClearError
+
;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${APPLICATION_SHORTNAME}Uninstaller") i .r1 ?e'
Pop $R0