From b96f91c39a0f5e9f677e07e29154620b46f8262b Mon Sep 17 00:00:00 2001 From: Don HO Date: Mon, 21 Oct 2019 20:21:05 +0200 Subject: [PATCH] Fix x64 installer option issue x64 installer set installation path in "C:/Program Files/Notepad++/" but "don't use %APPDATA%" is enabled. This commit fix this issue (make it disabled) Fix #6243 --- PowerEditor/installer/nsisInclude/tools.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/installer/nsisInclude/tools.nsh b/PowerEditor/installer/nsisInclude/tools.nsh index b5f762d1f..96c36ae2a 100644 --- a/PowerEditor/installer/nsisInclude/tools.nsh +++ b/PowerEditor/installer/nsisInclude/tools.nsh @@ -106,7 +106,7 @@ Function ExtraOptions StrCpy $1 $InstDir $0 StrLen $0 $PROGRAMFILES64 - StrCpy $2 $$InstDir "" $0 + StrCpy $2 $InstDir $0 ${If} $1 == "$PROGRAMFILES" ${ORIF} $2 == "$PROGRAMFILES64" ${NSD_Uncheck} $NoUserDataCheckboxHandle