summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Installer/Installer.nsi
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-06-16 20:45:51 +0100
committersr55 <[email protected]>2016-06-16 20:45:51 +0100
commit5bddfcb2ff7cff8a0ecef45efbaff57cbad67576 (patch)
treebc41307132b6756bdd6e45a036ad056b932a8a62 /win/CS/HandBrakeWPF/Installer/Installer.nsi
parentdab0d2e18d835006e90dbc6dbbffd1c7d2aa0b9d (diff)
WinGui: Attempt to fix the installer so that users can cleanly install both the nightly and official public release at the same time.
Diffstat (limited to 'win/CS/HandBrakeWPF/Installer/Installer.nsi')
-rw-r--r--win/CS/HandBrakeWPF/Installer/Installer.nsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer.nsi b/win/CS/HandBrakeWPF/Installer/Installer.nsi
index 312dc2259..3fa7bc077 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer.nsi
@@ -10,7 +10,7 @@
!define PRODUCT_NAME "HandBrake"
!define PRODUCT_VERSION "1.0.0"
!define PRODUCT_VERSION_NUMBER "1.0.0"
-!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\HandBrake.exe"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${PRODUCT_NAME}"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"