I am writing a little application to run on WinXP, Vista and Windows 7. The application is to be used in a big company where only system administrators are allowed to install. The users have a restricted account.
Here is my problem:
When the software is installed I place a XML settings file in the CommonApplicationData folder. The settings file has information on SMTP settings and local printer information (supplied by the administrator under installation). When the users run the program they have read-preveliges on the settings file but they can not write to it = they can not change the default printer since this is saved in the settings file.
How do I go about this? I have tried saving the file to the LocalApplicationData but this will place the file in the administrator's LocalApplicationData and thus unaccessable to the user.