c# - How do you change file permissions to stop Vista from writing to a file in the VirtualStore directory? -
When my program is first installed, it places a file in the user's appadata directory, and the program will then periodically Writes that file. The problem is in vista, the file is not written in the user's appadata directory, a copy of that file is created in the "VirtualStore / Program Data" directory. The original file of the user's appadata directory is never changed, it seems that when the program runs then only the file can be accessed inside the virtualstore directory.
Is there no permission from within the C # app so that my program will write the original one in the AppData directory and not in the VirtualStore Directory?
Thanks,
Jeff
UAC On the documentation you should help solve it.
It appears to me as you need to add an application.
When the "Requested Execution Level" value is specified in your application, the virtualization of the registry and file system will be changed.
Take a look for a special one. / P>
If you have not previously tested your application under non-administrator status, then you may need to make some code changes after you close Vista's virtualization.
Comments
Post a Comment