开发者

Visual Studio Setup Project Produce Output File that use Highest Privilege

开发者 https://www.devze.com 2023-03-23 07:45 出处:网络
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 Adminis

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

精彩评论

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