How do I Solve Compatibility Issues use AppCompat Flags?

Just a small info on Application Compatibility.., Flag registry keys does solve the app launch UAC problems on Vista/ Windows 7.

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
“C:\Program Files\ABC\law.exe”=”RUNASADMIN”

In this hive, give in the exe name, along with the runas key. This will solve much of our problem. Also the document attached should be of real help to you.

Windows Vista UAC Development Requirements

PS: This is purely a Developer/Packager solution.