summaryrefslogtreecommitdiff
path: root/winrc
diff options
context:
space:
mode:
Diffstat (limited to 'winrc')
-rw-r--r--winrc/service.conf16
-rw-r--r--winrc/setup.nsi4
2 files changed, 19 insertions, 1 deletions
diff --git a/winrc/service.conf b/winrc/service.conf
index e0118a63a91e..39ccc8cac2b4 100644
--- a/winrc/service.conf
+++ b/winrc/service.conf
@@ -4,10 +4,26 @@ server:
# verbosity level 0-4 of logging
verbosity: 0
+ # On windows you may want to make all the paths relative to the
+ # directory that has the executable in it (unbound.exe). Use this.
+ #directory: "%EXECUTABLE%"
+
# if you want to log to a file use
#logfile: "C:\unbound.log"
+ # or use "unbound.log" and the directory clause above to put it in
+ # the directory where the executable is.
# on Windows, this setting makes reports go into the Application log
# found in ControlPanels - System tasks - Logs
#use-syslog: yes
+ # on Windows, this setting adds the certificates from the Windows
+ # Cert Store. For when you want to use forwarders with TLS.
+ #tls-win-cert: yes
+
+remote-control:
+ # If you want to use unbound-control.exe from the command line, use
+ #control-enable: yes
+ #control-interface: 127.0.0.1
+ #control-use-cert: no
+
diff --git a/winrc/setup.nsi b/winrc/setup.nsi
index 8f085228004c..886d83a99929 100644
--- a/winrc/setup.nsi
+++ b/winrc/setup.nsi
@@ -14,7 +14,7 @@ outFile "unbound_setup_${VERSION}.exe"
Name "Unbound"
# default install directory
-installDir "$PROGRAMFILES\Unbound"
+installDir "$PROGRAMFILES64\Unbound"
installDirRegKey HKLM "Software\Unbound" "InstallLocation"
RequestExecutionLevel admin
#give credits to Nullsoft: BrandingText ""
@@ -79,6 +79,7 @@ sectionEnd
section "-hidden.postinstall"
# copy files
+ SetRegView 64
setOutPath $INSTDIR
File "..\LICENSE"
File "README.txt"
@@ -172,6 +173,7 @@ LangString DESC_rootkey ${LANG_ENGLISH} "Set up to use the DNSSEC root trust anc
# uninstaller section
section "un.Unbound"
+ SetRegView 64
# stop unbound service
nsExec::ExecToLog '"$INSTDIR\unbound-service-remove.exe" stop'
Pop $0 # return value/error/timeout