[Pkg-owncloud-commits] [owncloud-client] 141/218: NSIS: Try to ignore (invalid) errors from NSIS UAC
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 17 14:30:59 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 38eaf241fa98ec3cdcd56a1096a05232aeccdf23
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Thu Sep 17 13:37:48 2015 +0200
NSIS: Try to ignore (invalid) errors from NSIS UAC
---
cmake/modules/NSIS.template.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in
index 98d5a3d..8e1b8a5 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
--
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