fix deadlock on event plugin

This commit is contained in:
Ron Pedde
2006-05-05 07:38:13 +00:00
parent c29f829c31
commit 5de59a26aa
4 changed files with 104 additions and 13 deletions

View File

@@ -64,7 +64,20 @@ ShowInstDetails show
ShowUnInstDetails show
Section -Pre
nsSCM::QueryStatus "${PRODUCT_NAME}"
Pop $0
Pop $1
StrCmp $0 "success" lbl_stop_service
goto lbl_continue
lbl_stop_service:
DetailPrint "Stopping Service..."
nsSCM::Stop "${PRODUCT_NAME}"
Sleep 3000
lbl_continue:
; should really loop until service stops...
!include WinMessages.nsh
FindWindow $0 "" "Configuration"