Re: Installer folders & best practices



Hello,

I think then information needs more detail, there has been many cases in the
past where it's difficult to determine what to do. But here is my current
case:

I have a list of developer assemblies which use a plugin design. There are
default plugins which all end-users use by default, and each end-user could
override the default plugins to use a custom set. These plugin settings are
considered system-wide for each end-user. All end-user applications that use
these assemblies will need to discover the settings and use the correct
plugin set.

To complicate things more, the specific users plugin settings needs to be
discoverable with-in a VS environment and also runtime.

Also seems I need my own "Control Panel" application where the user could
modify settings assuming they are an admin. Can I create a "Control Panel"
application?

Any thoughts?

Thanks,
Schneider


""Hongye Sun [MSFT]"" <hongyes@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:xgxcoXvbJHA.5460@xxxxxxxxxxxxxxxxxxxxxxxxx
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 (hongyes@xxxxxxxxxxxxxxxxxxxx, 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:
msdnmg@xxxxxxxxxxxxxx

==================================================
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.







.



Relevant Pages

  • Re: Moving redirected folders to new share
    ... original settings where lost (the disk was corrupted and recovering the data ... > redirection policy. ... right click the redirected folder and go to properties. ... > Microsoft Online Partner Support ...
    (microsoft.public.windows.file_system)
  • RE: Installer folders & best practices
    ... there are some guidances to specific deployment senario. ... Persisting Application Settings in the .NET Framework ... They are recommended to be placed into Application Folder. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • Solution!
    ... posting, and receiving some pretty useless replies ... Hereby promise to always check Microsofts integrated 'Help And Support' ... As suggested in help and support, when wanting to make a folder private, you ... should locate that folder MANUALLY inside the 'documents and settings' on the ...
    (microsoft.public.windowsxp.security_admin)
  • XP Home User Directory Structure
    ... statements with the fact that I'm highly technical, and do support on ... Noone's my documents folder is linked ... just signed on to her account and note that her 'My Documents' folder ... folders under the documents and settings. ...
    (microsoft.public.windowsxp.general)
  • Re: Unable to delete orphaned 1.5 GB System Restore folder
    ... The fact that the tech support is based in India has nothing to do with the ... If so you may want to leave this folder alone. ... down to all children folders because i can set those permissions to ... try deleting from the command line using system by using the AT ...
    (microsoft.public.windowsxp.security_admin)