Revert "NSIS: Try to ignore (invalid) errors from NSIS UAC"

This reverts commit 38eaf241fa.
This commit is contained in:
Daniel Molkentin 2015-09-17 14:47:54 +02:00
parent 68947525a0
commit c71058980a

View file

@ -741,8 +741,6 @@ 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
@ -808,8 +806,6 @@ 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