Hi Schneider,
Thanks for your post.
I was unable to find such a guidance on usage of installer common folders.
The best one is what you have mentioned in MSDN library: Special Folders
and Custom Folders
(
http://msdn.microsoft.com/en-us/library/s2esdf4x.aspx).
It lists all the special folders and what they represent.
However, there are some guidances to specific deployment senario. For
example:
User Data and Settings Management in Windows Server 2003
(
http://technet.microsoft.com/en-us/library/cc781516.aspx)
Persisting Application Settings in the .NET Framework
(
http://msdn.microsoft.com/en-us/library/ms973902.aspx)
In order to better help you, can you tell us what your deployment senario
is in real?
I mentioned that your example questions are possibly what your confusion
is, so I answer it here:
#1: where do you put files shared by multiple users?
If the files are setting files, they are likely to be application
settings.
They are recommended to be placed into Application Folder.
#2: What if each user (through the app) needs to modify a file inside the
folder?
That depends on what the usage of the file is. If the file is specific to
each user and is setting file, it is recommended to place to User's
Application Data Folder. If it is shared by multiple user, as described
before, it is recommended to be in Application Folder.
#3: The version of windows and user rights seem to affect this logic also.
The answer is yes. You must make sure that user has rights to write to the
common folder.
Deployment In Windws Vista is a little different: Windows Installer
Deployment on Windows Vista
(
http://msdn.microsoft.com/en-us/library/bb384154.aspx)
Vista also supports roaming user data. Here is the guide: Managing Roaming
User Data Deployment Guide
(
http://technet.microsoft.com/en-us/library/cc766489.aspx)
Hope it helps.
Please let us know if there is anything unclear.
Regards,
Hongye Sun (
[email protected], remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support
Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.