added $PROGRAMFILES32, $PROGRAMFILES64, $COMMONFILES32 and $COMMONFILES64
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5072 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a3e46a1b13
commit
427d583f68
5 changed files with 50 additions and 35 deletions
|
@ -59,13 +59,13 @@ Constants can also be used in the \R{ainstalldir}{InstallDir} attribute.
|
|||
|
||||
Note that some of the new constants will not work on every OS. For example, $CDBURN_AREA will only work on Windows XP and above. If it's used on Windows 98, it'll be empty. Unless mentioned otherwise, a constant should be available on every OS.
|
||||
|
||||
\e{$PROGRAMFILES}
|
||||
\e{$PROGRAMFILES}, \e{$PROGRAMFILES32}, \e{$PROGRAMFILES64}
|
||||
|
||||
The program files directory (usually C:\\Program Files but detected at runtime).
|
||||
The program files directory (usually C:\\Program Files but detected at runtime). On Windows x64, $PROGRAMFILES and $PROGRAMFILES32 point to \c{C:\\Program Files (x86)} while $PROGRAMFILES64 points to \c{C:\\Program Files}. Use $PROGRAMFILES64 when installing x64 applications.
|
||||
|
||||
\e{$COMMONFILES}
|
||||
\e{$COMMONFILES}, \e{$COMMONFILES32}, \e{$COMMONFILES64}
|
||||
|
||||
The common files directory. This is a directory for components that are shared across applications (usually C:\\Program Files\\Common Files but detected at runtime).
|
||||
The common files directory. This is a directory for components that are shared across applications (usually C:\\Program Files\\Common Files but detected at runtime). On Windows x64, $COMMONFILES and $COMMONFILES32 point to \c{C:\\Program Files (x86)\\Common Files} while $COMMONFILES64 points to \c{C:\\Program Files\\Common Files}. Use $COMMONFILES64 when installing x64 applications.
|
||||
|
||||
\e{$DESKTOP}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue