mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
NSIS: Try to ignore (invalid) errors from NSIS UAC
This commit is contained in:
parent
8f8bf98ca6
commit
38eaf241fa
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue