Added removal of previous service

SVN revision: 1017
This commit is contained in:
Stefan Ritt 2004-08-04 11:59:25 +00:00
parent be5a928490
commit be744c15b1

View File

@ -63,6 +63,10 @@ Section "ELOG system (required)" SecSystem
File COPYING
File README
; stop service to replace elogd.exe
ExecWait 'net stop "elog server"'
Sleep 3000
File nt\release\elogd.exe
File nt\release\elog.exe
File nt\release\elconv.exe
@ -141,6 +145,7 @@ SectionEnd
; optional section
Section "Register ELOG Server Service" SecService
ExecWait "$INSTDIR\elogd.exe -s -remove"
ExecWait "$INSTDIR\elogd.exe -install"
SectionEnd