Archive: installing files to windows user application folder?


installing files to windows user application folder?
Hello. I need to install files into the windows application data folder. ie) C:\Documents and Settings\User\Application Data\. The program I'm trying to install gets this folder by calling (vc++):
SHGetSpecialFolderPath (NULL, buff, CSIDL_APPDATA, true) ;
It uses this folder to write some files to. I want to have some default files written to this folder on the install.
Is there a way to get this folder in a nsis script? Dynamically so that is gets the user's folder during the install, and then writes some files to that folder.
Thanks for any help.


See NSIS documentation 4.2.3 Constants :-)


That's exactly what I need :) Thanks.