Hi all,
Currently, our application uses 2 folders :
[Program Files] for application EXE and DLL
[Common Application Data] for the database, some files that don't change (e.g. *.dotx) and files users can access and modify.
As we encounter too many rights issues when users not have admin rights, we planned the following changes:
- Move files users can modify in a user directory, like [My Documents]
- At installation time, conditionnaly change folders during install, depending installation type ('only for me' or 'for all users') :
[Program Files] -->[Local Application Data]Programs
[Common Application Data] --> [Local Application Data]
[My Documents] --> [Public Documents]
1) Is it good practices? Or could you tell us the best practices?
2) It seems the installation type doesn't automatically change [Common Appllication Data] to [Local Application Data], so how could we do that?
3) Is there a way to test user permissions on a folder during installation to copy the files conditionnaly?
Thanks in advance for your help and your expertise.
Regards,
TOD