Set Folder Permissions To Program Files
I have a program that installs to a folder in "program files (x86)", but my program is not allowed to write any files there without elevated security. I know in other deployment applications like inno script I'm able to set the folder permissions to "Everyone" and I was wondering if something like this was possible in Visual Studio 2008.
Sam HobbsPosted Apr 8, 2010, 5:28 PM
I could explain where to look for answers, but you would not look so I won't bother.
RobertPosted Apr 8, 2010, 5:03 PM
RobertPosted Apr 6, 2010, 10:02 PM
Sam HobbsPosted Apr 6, 2010, 1:44 PM
Microsoft has designed Windows in a more logical manner than in the past. They are moving closer to the design of Unix, where the system files are in a partition separate from the data. In Windows, there are directories designated for data. Look in the .Net's Application class; it provides methods for getting the paths for data.