清单文件中存在三种类型的级别
AsInvoker
最高可用
requireAdministrator
我想知道这些属性的确切含义.以及这些/解决方案
AsInvoker的好处是什么-可执行文件以与用户相同的特权运行.没有UAC提示,也没有尝试抬高的提示.该可执行文件必须能够在标准用户"权限下运行.这是理想的情况.
HighestAvailable-运行时,可执行文件将打开一个UAC提示,提供提升运行权限的机会,但如果用户不知道或不希望提升可执行文件,则允许其以受限用户的身份继续运行.该可执行文件必须能够以标准用户身份运行,尽管某些选项可能不可用.这主要是针对可支持按计算机和按用户安装的安装程序类型的方案.
requireAdministrator-可执行文件将引起UAC提升提示,提供运行提升的机会.如果用户无法提供凭据,则管理员帐户提升权限将失败,并且可执行文件将无法运行.
there are three types of levels in the manifest file
AsInvoker
Highest Available
requireAdministrator
i want to know exact meaning of these properties. and what are the benefits of these/
解决方案AsInvoker - the executable runs with the same privileges the user has. There will be no UAC prompt and no attempt to elevate. The executable must be capable of running under Standard User permissions. This is the ideal scenario.
HighestAvailable - when run the executable will open a UAC prompt offering the opportunity to run elevated but allowing it to continue to run as a limited user if the user does not know or does not wish to elevate the executable . The executable must be capable of running as a Standard User although some options may not be available. This is primarily intended for installer type scenarios which can support both a per-machine and per-user installation.
requireAdministrator - the executable will cause a UAC elevation prompt offering the opportunity to run elevated. If the user cannot provide credentials for an Administrator account elevation will fail and the executable will not be run.
更多推荐
清单文件中不同级别的特权
发布评论