Stop service before replacing elogd.exe

SVN revision: 1023
This commit is contained in:
2004-08-04 13:46:22 +00:00
parent 3809425f16
commit 376ed138ab
+4 -3
View File
@@ -64,8 +64,9 @@ Section "ELOG system (required)" SecSystem
File README
; stop service to replace elogd.exe
ExecWait 'net stop "elog server"'
Sleep 3000
ExecWait 'net stop "ELOG server"'
ExecWait 'net stop elogd'
Sleep 2000
File nt\release\elogd.exe
File nt\release\elog.exe
@@ -145,7 +146,7 @@ SectionEnd
; optional section
Section "Register ELOG Server Service" SecService
ExecWait "$INSTDIR\elogd.exe -s -remove"
; WriteRegExpandStr HKLM SYSTEM\CurrentControlSet\Services\elogd ImagePath '"$INSTDIR\elogd.exe" -D -c "$INSTDIR\elogd.cfg"'
ExecWait "$INSTDIR\elogd.exe -install"
SectionEnd