|
|
#1 |
|
Junior Member
Join Date: Oct 2003
Posts: 5
|
SHGetFolderPath
The release notes of 2.29 say...
Use SHGetFolderPath where available to better support all users' folders. How do I call this? I couldn't find anything in the documentation about this call. Is this a System call? Why am I able to call it now? Any help would be greatly appreciated. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
you don't need to call it, nsis does this for you when using the folder constants ($startmenu and friends) and SetShellVarContext is set to all
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2003
Posts: 5
|
The nFolder I need to find is CSIDL_COMMON_APPDATA.
On Vista, this is typically... c:\programdata and on XP it is... c:\documents and settings\All Users\Application Data How can I find these folders? |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Oct 2003
Posts: 5
|
Ahh... I got it...
SetShellVarContext all Messagebox MB_OK $APPDATA Thanks for your help! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|