summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
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"