From b3245a5320e02d0e9a561e083295bfa271c7f6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 5 Mar 2022 16:53:16 +0100 Subject: [PATCH] nsis: use old InstallDir when already installed See https://gitlab.com/librewolf-community/browser/windows/-/issues/178 --- assets/setup.nsi | 1 + common | 1 + settings | 1 + 3 files changed, 3 insertions(+) create mode 160000 common create mode 160000 settings diff --git a/assets/setup.nsi b/assets/setup.nsi index ff7cf22..6592eba 100644 --- a/assets/setup.nsi +++ b/assets/setup.nsi @@ -14,6 +14,7 @@ Name "${APPNAME}" OutFile "${PROGNAME}-${PROG_VERSION}.en-US.win64-setup.exe" +InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "InstallLocation" InstallDir $PROGRAMFILES64\${APPNAME} RequestExecutionLevel admin diff --git a/common b/common new file mode 160000 index 0000000..1e52967 --- /dev/null +++ b/common @@ -0,0 +1 @@ +Subproject commit 1e529672fc81de6c15d584d41efa17880b28fea4 diff --git a/settings b/settings new file mode 160000 index 0000000..9075142 --- /dev/null +++ b/settings @@ -0,0 +1 @@ +Subproject commit 9075142f3a1b52a949e7f2602b212dc24b6a8cf1