• 0

VB ClickOnce execution level


Question

I Coded a program in vb that give the possibility to change the logon backround of windows 7

Anyway the process need an execution level of 'Administrator' in order for it to work properly

So i tried changing this line in the manifest file

from:

<requestedExecutionLevel level="asInvoker" uiAccess="false" />

To

<requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />

But when trying to publish the application an error is shown and it goes like this:

Error 1 ClickOnce does not support the request execution level 'requireAdministrator'

So i tried searching the net to see if there are any workaround for this and it seems that there are.

But i dont seem to be abel to undestand exactly what to do.

So if anyone knows a workaround for this i would apriciate a clear detaild explanation of how to do it

Thanks

Edited by Teddy*
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.