My application needs administrative access, and I want it to run without any problems in Windows 7.
I have the following options
1. Ask the user using the application to disable UAC. This is an option of last resort and would not want to do this.
2. Generate a manifest in the application that says it has been upgraded to adminstrator privelege. This will work, but it seems that it will open a dialog requiring user consent every time the user launches the application.
3. Configure the application to run in compatibility mode with Windows XP. This works, but I had to do it using the properties explorer-> application. if I can do this programmatically during installation, I would prefer this option. My question is is there a way to achieve this.
considers
Ganesha
windows-7
Ganesh
source share