diff options
author | Martin Hertz <mvhertz@gmail.com> | 2024-08-06 20:21:20 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2024-08-24 17:13:36 +0200 |
commit | 6ba23a80138fae36b81f35274d7bdfd82d56263c (patch) | |
tree | 5c22f0dd0026ee8f0e45faf5807f0dab97c41719 | |
parent | [Util] Refactor reset language env vars (diff) | |
download | deluge-6ba23a80138fae36b81f35274d7bdfd82d56263c.tar.xz deluge-6ba23a80138fae36b81f35274d7bdfd82d56263c.zip |
[Packaging] NSIS x64 reg-keys into proper place
Closes: https://github.com/deluge-torrent/deluge/pull/455
-rw-r--r-- | packaging/win/deluge-win-installer.nsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/win/deluge-win-installer.nsi b/packaging/win/deluge-win-installer.nsi index 1f9c2e271..39d34feab 100644 --- a/packaging/win/deluge-win-installer.nsi +++ b/packaging/win/deluge-win-installer.nsi @@ -112,7 +112,6 @@ FunctionEnd # --- Installation sections --- !define PROGRAM_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PROGRAM_NAME}" -!define PROGRAM_UNINST_ROOT_KEY "HKLM" !define PROGRAM_UNINST_FILENAME "$INSTDIR\deluge-uninst.exe" BrandingText "${PROGRAM_NAME} Windows Installer v${DELUGE_INSTALLER_VERSION}" @@ -121,12 +120,15 @@ OutFile "${INSTALLER_FILENAME}" !ifndef arch InstallDir "$PROGRAMFILES64\Deluge" +!define PROGRAM_UNINST_ROOT_KEY "HKLM64" !endif !If "${arch}" == "x64" InstallDir "$PROGRAMFILES64\Deluge" +!define PROGRAM_UNINST_ROOT_KEY "HKLM64" !endIf !If "${arch}" == "x86" InstallDir "$PROGRAMFILES32\Deluge" +!define PROGRAM_UNINST_ROOT_KEY "HKLM" !endIf ShowInstDetails show |