Archive: Common application data folder


Common application data folder
Hi,

Is there a way how to get system "Common app. data" folder? In .net framework it is Environment.GetFolderPath(SpecialFolder.CommonApplicationData).

Thanks

Sedmy


http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3


So I think the correct way is:

SetShellVarContext all
StrCpy $0 $APPDATA

I hope that it will work on all win systems ;-)

Thanks,

Sedmy


Originally posted by Sedmy
So I think the correct way is:

SetShellVarContext all
StrCpy $0 $APPDATA

I hope that it will work on all win systems ;-)

Thanks,

Sedmy
It will work on all Windows systems where a common Application Data folder exists. The manual explains the requisites.