Vista software design problems with permissions

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

In vista my users can't get into Program Files tree and make .config file changes.

I need to have application settings that some of the customers can edit directly in -.config. But they are telling me that their edits in -.config are not being saved. There is some sort of file protection going on in the Program File tree. I now need a new way for certain users to edit some hidden config settings. How can I do this in Vista? I don't want to use the registry for any software settings.

These are _not_ user level settings -- so this restricts the solutions quite a bit. I want certain users to edit settings for all users. These settings must not be accessible within the program itself.

Someone out there must have solved this problem?
 
You can have a seperate configuration application that only runs in
administrator mode.

--
Sheng Jiang
Microsoft MVP in VC++
Paul said:
In vista my users can't get into Program Files tree and make .config file changes.

I need to have application settings that some of the customers can edit
directly in -.config. But they are telling me that their edits in -.config
are not being saved. There is some sort of file protection going on in the
Program File tree. I now need a new way for certain users to edit some
hidden config settings. How can I do this in Vista? I don't want to use the
registry for any software settings.
These are _not_ user level settings -- so this restricts the solutions
quite a bit. I want certain users to edit settings for all users. These
settings must not be accessible within the program itself.
 
There's no code for this.
I'm trying to open, read and write config settings in an arbitrary config file with no luck. I'm trying the Microsoft.Practices.EnterpriseLibrary.Common.Configuration namespace and I can't retrieve the applicationSettings section much less read and make any changes. A working sample would be nice.
 
Back
Top