implemented RFE #1172123 - $LOCALAPPDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4015 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8b1fa1b3c7
commit
7e8e0b95dd
3 changed files with 10 additions and 0 deletions
|
@ -156,6 +156,12 @@ The application data directory. Detection of the current user path requires Inte
|
|||
|
||||
This constant is not available on Windows 95 with Internet Explorer 4 and Active Desktop not installed.
|
||||
|
||||
\e{$LOCALAPPDATA}
|
||||
|
||||
The local (nonroaming) application data directory.
|
||||
|
||||
This constant is available on Windows 2000 and above.
|
||||
|
||||
\e{$PRINTHOOD}
|
||||
|
||||
The directory that contains link objects that may exist in the Printers folder.
|
||||
|
|
|
@ -271,6 +271,9 @@ typedef WORD LANGID;
|
|||
#ifndef CSIDL_COMMON_APPDATA
|
||||
# define CSIDL_COMMON_APPDATA 0x23
|
||||
#endif
|
||||
#ifndef CSIDL_LOCAL_APPDATA
|
||||
# define CSIDL_LOCAL_APPDATA 0x1C
|
||||
#endif
|
||||
#ifndef CSIDL_PRINTHOOD
|
||||
# define CSIDL_PRINTHOOD 0x1B
|
||||
#endif
|
||||
|
|
|
@ -445,6 +445,7 @@ definedlist.add("NSIS_SUPPORT_LANG_IN_STRINGS");
|
|||
m_ShellConstants.add("FONTS", CSIDL_FONTS, CSIDL_FONTS);
|
||||
m_ShellConstants.add("TEMPLATES", CSIDL_TEMPLATES, CSIDL_COMMON_TEMPLATES);
|
||||
m_ShellConstants.add("APPDATA", CSIDL_APPDATA, CSIDL_COMMON_APPDATA);
|
||||
m_ShellConstants.add("LOCALAPPDATA", CSIDL_LOCAL_APPDATA, CSIDL_LOCAL_APPDATA);
|
||||
m_ShellConstants.add("PRINTHOOD", CSIDL_PRINTHOOD, CSIDL_PRINTHOOD);
|
||||
//m_ShellConstants.add("ALTSTARTUP", CSIDL_ALTSTARTUP, CSIDL_COMMON_ALTSTARTUP);
|
||||
m_ShellConstants.add("INTERNET_CACHE", CSIDL_INTERNET_CACHE, CSIDL_INTERNET_CACHE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue