Reputation: 99
Hello, I have signed my application with Verisign, stored all registry variables in HKCU in order not to request for admin right, changed the manifest file but the UAC command still prompts the user whether he/she wants the following to make changes to his/her computer when the application install directory is done in c:\program files (default) . How do I prevent this from happening.
Upvotes: 0
Views: 330
Reputation: 10993
There are two things to check. First it is the manifest file included in your application, not the one of your installer. VS has an option for setting the UAC level for the application it builds.
Second, you should check if your application, when launched, is opening any files from Program Files folder with the OF_READWRITE option, this might also triggering the UAC prompt.
Upvotes: 1