Skip to content

Commit

Permalink
Revert "NSIS: Try to ignore (invalid) errors from NSIS UAC"
Browse files Browse the repository at this point in the history
This reverts commit 38eaf24.
  • Loading branch information
Daniel Molkentin committed Sep 17, 2015
1 parent 6894752 commit c710589
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmake/modules/NSIS.template.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c710589

Please sign in to comment.