为管理应用程序生成具有信任级别部分的应用程序清单 [英] Generating an application manifest with a trust level section for an administrative application

查看:77
本文介绍了为管理应用程序生成具有信任级别部分的应用程序清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法哄骗VC8链接器生成应用程序

清单,其中包含适用于管理

应用程序的信任级别部分?或者我每次重建时都必须手动添加?


问候,


George。

Is there any way to coax the VC8 linker into generating an application
manifest with a trust level section suitable for an administrative
application? Or do I have to add this manually each time that I rebuild?

Regards,

George.

推荐答案

嗨乔治,
Hi George,
有没有办法哄骗VC8链接器生成带有信任的应用程序清单<适用于行政
申请的级别部分?
Is there any way to coax the VC8 linker into
generating an application manifest with a trust
level section suitable for an administrative
application?




您能否提供有关此问题的更多详细信息?如何使用-tr选项手动生成应用程序清单正确

现在?


感谢您的理解!


祝你好运,

Gary Chang

微软社区支持

== ================================================ == ==

请注意新闻组SECURE CODE和PASSWORD将于2006年2月14日上午9:00更新。请通过<完成重新注册流程br />
在提示时输入安全代码mmpng06。输入

安全代码mmpng06后,您就可以更新个人资料并访问

合作伙伴新闻组。

=== =============================================== === =

在回复帖子时,请回复群组通过你的新闻阅读器

,其他人可以从这个问题中学习并从中受益。

==================== ============================== ====

此帖子提供原样 ;没有保证,也没有授予任何权利。

================================= ================= ====



Would you please provide more detailed information about this issue? How do
you use the -tr option manually to generate the application manifest right
now?

Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====


Gary,


感谢您的回复。我指的是设置

requestedExecutionLevel属性。请参阅应用程序清单

架构部分。在
http://msdn.microsoft.com/library/de...cProtVista.asp

根据另一篇我似乎无法找到的MSDN文章现在,这个

是信任级别部分的扩展。这篇文章的日期是2005年9月,但你必须在内部了解它一段时间。当然,你现在已经考虑过了这个问题。
Gary,

Thanks for your reply. I am referring to setting the
requestedExecutionLevel attribute. See the section on "Application Manifest
Schema" in
http://msdn.microsoft.com/library/de...cProtVista.asp.
According to another MSDN article which I can''t seem to find right now, this
is an extension of the trust level section. The article is dated September
2005 but you must have known about it for some time internally. Surely you
have given some thought to this by now.
请您提供有关此问题的更多详细信息?如何
你手动使用-tr选项生成应用程序清单现在吗?
Would you please provide more detailed information about this issue? How
do
you use the -tr option manually to generate the application manifest right
now?




坦率地说,这不是一个非常可口的选择。很高兴找到一个管理应用程序清单的简单示例,它不包含一堆COM或.Net gobble-de-gook。


问候,


乔治。



Frankly, that is not a very palatable option. It would be nice to find a
simple example of an administrative application manifest that didn''t contain
a bunch of COM or .Net gobble-de-gook.

Regards,

George.


回答我自己的帖子(部分) :
To answer my own post (in part):
很高兴找到一个管理
应用程序清单的简单示例,它不包含一堆COM或.Net
狼吞虎咽 - de-gook。
It would be nice to find a simple example of an administrative
application manifest that didn''t contain a bunch of COM or .Net
gobble-de-gook.




我从某人的博客中删除了这个(修正后的语法):


< ?xml version =" 1.0"编码= QUOT; UTF-8英寸standalone =" yes"?>

< assembly xmlns =" urn:schemas-microsoft-com:asm.v1" manifestVersion =" 1.0">

< trustInfo xmlns =" urn:schemas-microsoft-com:asm.v3">

< security>

< requestedPrivileges>

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

< / requestedPrivileges>

< / security>

< / trustInfo>

< / assembly>


问候,


George。



I pulled this off of somebody''s blog (with corrected syntax):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="true"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Regards,

George.

这篇关于为管理应用程序生成具有信任级别部分的应用程序清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆