Skip to content

Commit

Permalink
fix Issue 15284 - dmd installer hangs...
Browse files Browse the repository at this point in the history
- ExecWait seems to loop infinitely for some people
  and it doesn't wait for the uninstaller anyhow
  http://nsis.sourceforge.net/When_I_use_ExecWait_uninstaller.exe_it_doesn't_wait_for_the_uninstaller
  • Loading branch information
MartinNowak committed Nov 8, 2015
1 parent 992b38e commit 176b97a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows/d2-installer.nsi
Expand Up @@ -473,7 +473,7 @@ Function .onInit

uninst:
${GetParent} $R0 $INSTDIR

ClearErrors
; Run uninstaller from installed directory
ExecWait '$R0 /IC False _?=$INSTDIR' $K
Expand All @@ -486,7 +486,7 @@ Function .onInit
StrCmp $K 0 +2
Abort
; Remove in background the remaining uninstaller program itself
ExecWait '$R0 /IC False /S'
Exec '$R0 /IC False /S'

done_uninst:

Expand Down

0 comments on commit 176b97a

Please sign in to comment.