nsis: use old InstallDir when already installed

See https://gitlab.com/librewolf-community/browser/windows/-/issues/178
This commit is contained in:
Malte Jürgens 2022-03-05 16:53:16 +01:00
parent 58b2271e34
commit b3245a5320
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3
3 changed files with 3 additions and 0 deletions

View file

@ -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

1
common Submodule

@ -0,0 +1 @@
Subproject commit 1e529672fc81de6c15d584d41efa17880b28fea4

1
settings Submodule

@ -0,0 +1 @@
Subproject commit 9075142f3a1b52a949e7f2602b212dc24b6a8cf1