I have a C# .NET application with about 20 supporting assemblies that I am maintaining.
When it starts, windows shows a UAC dialog that says:
Do you want to allow the following program to make changes to this computer.
If I disable the 'Run as administrator' checkbox on the file's properties dialog, I get a dialog of:
Unable to run [Application Name]. The user account '[Me]' does not have sufficient privileges to write to
C:\ProgramData[Company][Application Name]
This application will try to write to the ProgramData directory which is causing the UAC to ask the user for permission.
How does the UAC know the application is going to write to ProgramData?
What can I change so that the UAC does not complain?
C:\ProgramData[Company][Application Name]
? – Dennis