|
|
#1 |
|
Junior Member
Join Date: Aug 2012
Posts: 1
|
Does NSIS define $LOCALAPPDATA when running on XP?
XP does not have the LOCALAPPDATA environment variable.
When running on XP I want to install in: %USERPROFILE%\Local Settings\Application Data When running on windows 7 and vista I want: %USERPROFILE%\AppData\Local Will InstallDir "$LOCALAPPDATA\${app_name}" use %USERPROFILE%\Local Settings\Application Data\${app_name} on Windows XP? (Obviously I don't have access to an XP machine at the moment to test this) Thanks |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
|
$LOCALAPPDATA is what you want for XP and for Vista/7 ($LOCALAPPDATA was added in 2005).
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,814
|
It is documented as Win2000+ (I don't remember if you can make it work with shfolder.dll on Win9x...)
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|