mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 14:24:58 +02:00
Fix installer x64 not detected the previous installation location
Ref: https://nsis.sourceforge.io/Reference/SetRegView Fix #7946, close #11013
This commit is contained in:
parent
9929160a00
commit
9f08013d08
@ -149,6 +149,9 @@ updaterDone:
|
||||
; disable registry redirection (enable access to 64-bit portion of registry)
|
||||
SetRegView 64
|
||||
|
||||
; 64-bit patch for the NSIS attribute InstallDirRegKey (used in globalDef.nsh)
|
||||
ReadRegStr $INSTDIR HKLM "Software\${APPNAME}" ""
|
||||
|
||||
; change to x64 install dir if needed
|
||||
${If} "$InstDir" != ""
|
||||
${If} "$InstDir" == "$PROGRAMFILES\${APPNAME}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user