"Jack" <replyto@it> wrote in message
news:...
> Hello,
> I need to know which one of WindowsNT subfolders (except
> System32) have the same name and exist in all WindowsNT OS.
> Is there some comparision chart to show that?
There maybe some, but there is no guarantee that they will exist in feature
versions. Also, members of the limited "Users" group can't write to
"Windows" or "Program Files" or any of their subfolders. If you want
writable location, use SHGetSpecialFolderLocation() with CSIDL_APPDATA for
per user data, or CSIDL_COMMON_APPDATA for per computer data. If you use
CSIDL_COMMON_APPDATA, then you need to modify the permissions on the folder.
If you are using Inno Setup, this can be done with one line:
[Dirs]
Name: "{commonappdata}\MyCompany\MySoftware"; Permissions: users-full
See this post for full details:
http://groups.google.com/group/micro...1e6fda74?hl=en
See also this SHGetSpecialFolderLocation sample:
http://news.jrsoftware.org/news/innosetup/msg69444.html