avoid uac on wpf application deployed on vista or windows 7 Edit
Sometimes when you are building a full trust app to be deployed via clickonce, things like editing registry, custom protocol access, etc might require the user's permission. To avoid such UAC messages, turn on requestedExecutionLevel to asInvoker in your app.manifest under the properties folder.