开发者

Visual Studio Setup Project Produce Output File that use Highest Privilege

How do I preset the output exe wit开发者_JAVA百科h the highest privilege checked? I am having issues for the application running on Windows 7 or Windows 2008, if the user did not select Run As Administrator, the application crashed.

Is there a way to preset the privilege?

Regards

PlayKid


The recommended approach is to add a manifest which requests Administrator privileges: http://msdn.microsoft.com/en-us/library/bb756929.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜