$LocalAppData now resolves to the ProgramData folder in the "SetShellVarContext all" context

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6875 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-06-23 01:11:30 +00:00
parent decb52f505
commit 2553c6e550
6 changed files with 7 additions and 4 deletions

View file

@ -845,7 +845,7 @@ TCHAR * NSISCALL GetNSISString(TCHAR *outbuf, int strtab)
*/
BOOL use_shfolder =
// Use shfolder if not on 95/98
!((ver & 0x80000000) && (LOWORD(ver) != 0x5A04)) ||
!((ver & 0x80000000) && (LOWORD(ver) != MAKEWORD(4,90))) ||
// Unless the Application Data or Documents folder is requested
(