2010-12-07 91 views

回答

0

是,包括应用程序清单,你可以做到这一点:

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

更多信息:http://msdn.microsoft.com/en-us/library/bb756929.aspx

+0

http://stackoverflow.com/questions/3345843/applications-manifest-file-causing-problems-on-win-7-environment [我创建的线程回来后 - 我最终不得不创建应用程序没有一个清单,让它运行在赢7 64位] – user48408 2010-12-07 14:56:04

0

您可以create a manifest file for your .NET application这说明它需要管理员权限运行时。

+0

http://stackoverflow.com/questions/3345843/applications-manifest-file-causing-problems-on-win-7-environment [一个线程,我创建了一段时间回来 - 我最终不得不创建应用程序没有清单让它运行在赢7 64位] – user48408 2010-12-07 14:45:30