diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2015-09-17 14:37:48 +0300 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2015-09-17 14:40:02 +0300 |
commit | 38eaf241fa98ec3cdcd56a1096a05232aeccdf23 (patch) | |
tree | 7cc88915bedc990912620bfe5aa59f59037f0719 | |
parent | 8f8bf98ca63c3e3a2bc64101067e22c04e1328c4 (diff) |
NSIS: Try to ignore (invalid) errors from NSIS UAC
-rw-r--r-- | cmake/modules/NSIS.template.in | 4 |
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 |