diff --git a/doc/Changelog b/doc/Changelog index 895aaf6b6..cdb395287 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ by "#ifdef SHA256_DIGEST_LENGTH@daemon/remote.c". - iana portlist update - Fix #1258: Windows 10 X64 unbound 1.6.2 service will not start. + and fix that 64bit getting installed in C:\Program Files (x86). 26 April 2017: Ralph - Implemented trust anchor signaling using key tag query. diff --git a/makedist.sh b/makedist.sh index 1b98d879b..53c5cec74 100755 --- a/makedist.sh +++ b/makedist.sh @@ -368,6 +368,10 @@ if [ "$DOWIN" = "yes" ]; then info "Creating installer" quadversion=`cat ../config.h | grep RSRC_PACKAGE_VERSION | sed -e 's/#define RSRC_PACKAGE_VERSION //' -e 's/,/\\./g'` cat ../winrc/setup.nsi | sed -e 's/define VERSION.*$/define VERSION "'$version'"/' -e 's/define QUADVERSION.*$/define QUADVERSION "'$quadversion'"/' > ../winrc/setup_ed.nsi + if test "$W64" = "yes"; then + mv ../winrc/setup_ed.nsi ../winrc/setup_ed_old.nsi + cat ../winrc/setup_ed_old.nsi | sed -e 's/PROGRAMFILES/PROGRAMFILES64/' > ../winrc/setup_ed.nsi + fi "$makensis" ../winrc/setup_ed.nsi info "Created installer" cd ..