How to write to ProgramData?
Posted: Mon Mar 28, 2011 11:35 am
Good afternoon,
Following the principles of Windows 7 Logo Program, we should not store application data in the Program Files folder. So, I need to write some folders and files in "ProgramData".
How should I proceed with the project installer to have access to "ProgramData"?
I made an attempt using $MYLOCALAPPDATA$, but this I generated the files in C:\Users\<UserName>\AppData\Roaming, which does not give rights to another user on the same machine to access the files.
In addition to "ProgramData", we would have another alternative to the application data being seen by all users of the machine?
Thanks,
Rodrigo Duarte
OnClick Sistemas
Following the principles of Windows 7 Logo Program, we should not store application data in the Program Files folder. So, I need to write some folders and files in "ProgramData".
How should I proceed with the project installer to have access to "ProgramData"?
I made an attempt using $MYLOCALAPPDATA$, but this I generated the files in C:\Users\<UserName>\AppData\Roaming, which does not give rights to another user on the same machine to access the files.
In addition to "ProgramData", we would have another alternative to the application data being seen by all users of the machine?
Thanks,
Rodrigo Duarte
OnClick Sistemas