summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-30 19:11:58 +0000
committerCarl Hetherington <cth@carlh.net>2012-10-30 19:11:58 +0000
commitec672e77334379b15639b05384e443a42e29fc09 (patch)
tree236bf61c05b78ad80a5bba54a885e15a29a80ab7 /windows
parent73e4d3e55ea103dfbb0e26ed47019fda2612a902 (diff)
Fix up windows 64 build.
Diffstat (limited to 'windows')
-rw-r--r--windows/installer.nsi.64.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/windows/installer.nsi.64.in b/windows/installer.nsi.64.in
index fe02bc757..7820d0078 100644
--- a/windows/installer.nsi.64.in
+++ b/windows/installer.nsi.64.in
@@ -1,4 +1,6 @@
!include "MUI2.nsh"
+!include "x64.nsh"
+
Name "DVD-o-matic"
RequestExecutionLevel admin
@@ -24,7 +26,15 @@ InstallDir "$PROGRAMFILES\DVD-o-matic"
!insertmacro MUI_LANGUAGE "English"
Section "install" "Installation info"
-
+
+${If} ${RunningX64}
+ DetailPrint "Installer running on 64-bit host"
+ ; disable registry redirection (enable access to 64-bit portion of registry)
+ SetRegView 64
+ ; change install dir
+ StrCpy $INSTDIR "$PROGRAMFILES64\DVD-o-matic"
+${EndIf}
+
SetOutPath "$INSTDIR\bin"
File "%deps%/bin/asdcp-libdcp.dll"