Skip to content
⌘ NSIS Forum Archive

Common application data folder

4 posts

Sedmy#

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
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
MSG#
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.