mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #1178: attempt to fix setup error at end, pop result values
at end of install. git-svn-id: file:///svn/unbound/trunk@3963 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
631d2b4214
commit
5351f69e49
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
14 December 2016: Wouter
|
||||
- Fix #1178: attempt to fix setup error at end, pop result values
|
||||
at end of install.
|
||||
|
||||
13 December 2016: Wouter
|
||||
- Fix #1182: Fix Resource leak (socket), at startup.
|
||||
- Fix unbound-control and ipv6 only.
|
||||
|
|
|
|||
|
|
@ -148,8 +148,10 @@ section "-hidden.postinstall"
|
|||
|
||||
# install service entry
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-install.exe"'
|
||||
Pop $0 # return value/error/timeout
|
||||
# start unbound service
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-install.exe" start'
|
||||
Pop $0 # return value/error/timeout
|
||||
sectionEnd
|
||||
|
||||
# set section descriptions
|
||||
|
|
@ -171,8 +173,10 @@ LangString DESC_rootkey ${LANG_ENGLISH} "Set up to use the DNSSEC root trust anc
|
|||
section "un.Unbound"
|
||||
# stop unbound service
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-remove.exe" stop'
|
||||
Pop $0 # return value/error/timeout
|
||||
# uninstall service entry
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-remove.exe"'
|
||||
Pop $0 # return value/error/timeout
|
||||
# deregister uninstall
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Unbound"
|
||||
Delete "$INSTDIR\uninst.exe" # delete self
|
||||
|
|
|
|||
Loading…
Reference in a new issue