Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

UIAccess = true in App.Manifest file

$
0
0

Hi,

I have created an App.Manifest file with the Execution level as <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>.  The application starts with Administrator privileges as intended. 

My scenario is: When my Application starts, I check for an Update (from FTP) and display a Summary BOX having the update information (as pop up window - user needs to click OK to download) ......if any update found. 

But when I set Execution level as <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>. it do not display the summary box.

When I set Execution level as <requestedExecutionLevel level="requireAdministrator" uiAccess="True"/>, it throws an error (because may application is not digitally signed).

Is there any way, so that after starting the application I can set the UIAccess = TRUEinternally in code so that I need not to register the dll or exe with digital sign and get the pop up window also.


Thanks
Gaurav Gupta


Gaurav Gupta


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>