mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Stop service before replacing elogd.exe
SVN revision: 1023
This commit is contained in:
parent
3809425f16
commit
376ed138ab
7
elog.nsi
7
elog.nsi
@ -64,8 +64,9 @@ Section "ELOG system (required)" SecSystem
|
|||||||
File README
|
File README
|
||||||
|
|
||||||
; stop service to replace elogd.exe
|
; stop service to replace elogd.exe
|
||||||
ExecWait 'net stop "elog server"'
|
ExecWait 'net stop "ELOG server"'
|
||||||
Sleep 3000
|
ExecWait 'net stop elogd'
|
||||||
|
Sleep 2000
|
||||||
|
|
||||||
File nt\release\elogd.exe
|
File nt\release\elogd.exe
|
||||||
File nt\release\elog.exe
|
File nt\release\elog.exe
|
||||||
@ -145,7 +146,7 @@ SectionEnd
|
|||||||
|
|
||||||
; optional section
|
; optional section
|
||||||
Section "Register ELOG Server Service" SecService
|
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"
|
ExecWait "$INSTDIR\elogd.exe -install"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user