[Packaging] NSIS x64 reg-keys into proper place
Closes: https://github.com/deluge-torrent/deluge/pull/455
This commit is contained in:
parent
af70ff1fdc
commit
6ba23a8013
|
@ -112,7 +112,6 @@ FunctionEnd
|
||||||
|
|
||||||
# --- Installation sections ---
|
# --- Installation sections ---
|
||||||
!define PROGRAM_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PROGRAM_NAME}"
|
!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"
|
!define PROGRAM_UNINST_FILENAME "$INSTDIR\deluge-uninst.exe"
|
||||||
|
|
||||||
BrandingText "${PROGRAM_NAME} Windows Installer v${DELUGE_INSTALLER_VERSION}"
|
BrandingText "${PROGRAM_NAME} Windows Installer v${DELUGE_INSTALLER_VERSION}"
|
||||||
|
@ -121,12 +120,15 @@ OutFile "${INSTALLER_FILENAME}"
|
||||||
|
|
||||||
!ifndef arch
|
!ifndef arch
|
||||||
InstallDir "$PROGRAMFILES64\Deluge"
|
InstallDir "$PROGRAMFILES64\Deluge"
|
||||||
|
!define PROGRAM_UNINST_ROOT_KEY "HKLM64"
|
||||||
!endif
|
!endif
|
||||||
!If "${arch}" == "x64"
|
!If "${arch}" == "x64"
|
||||||
InstallDir "$PROGRAMFILES64\Deluge"
|
InstallDir "$PROGRAMFILES64\Deluge"
|
||||||
|
!define PROGRAM_UNINST_ROOT_KEY "HKLM64"
|
||||||
!endIf
|
!endIf
|
||||||
!If "${arch}" == "x86"
|
!If "${arch}" == "x86"
|
||||||
InstallDir "$PROGRAMFILES32\Deluge"
|
InstallDir "$PROGRAMFILES32\Deluge"
|
||||||
|
!define PROGRAM_UNINST_ROOT_KEY "HKLM"
|
||||||
!endIf
|
!endIf
|
||||||
|
|
||||||
ShowInstDetails show
|
ShowInstDetails show
|
||||||
|
|
Loading…
Reference in New Issue