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
This commit is contained in:
Don HO 2019-10-21 20:21:05 +02:00
parent 88a2f68f05
commit b96f91c39a
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -106,7 +106,7 @@ Function ExtraOptions
StrCpy $1 $InstDir $0 StrCpy $1 $InstDir $0
StrLen $0 $PROGRAMFILES64 StrLen $0 $PROGRAMFILES64
StrCpy $2 $$InstDir "" $0 StrCpy $2 $InstDir $0
${If} $1 == "$PROGRAMFILES" ${If} $1 == "$PROGRAMFILES"
${ORIF} $2 == "$PROGRAMFILES64" ${ORIF} $2 == "$PROGRAMFILES64"
${NSD_Uncheck} $NoUserDataCheckboxHandle ${NSD_Uncheck} $NoUserDataCheckboxHandle