为管理应用程序生成具有信任级别部分的应用程序清单

编程入门 行业动态 更新时间:2024-10-26 02:35:15
本文介绍了为管理应用程序生成具有信任级别部分的应用程序清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有没有办法哄骗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 intogenerating an application manifest with a trustlevel section suitable for an administrativeapplication?

您能否提供有关此问题的更多详细信息?如何使用-tr选项手动生成应用程序清单正确 现在? 感谢您的理解! 祝你好运, Gary Chang 微软社区支持 == ================================================ == == 请注意新闻组SECURE CODE和PASSWORD将于2006年2月14日上午9:00更新。请通过 在提示时输入安全代码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属性。请参阅应用程序清单 架构部分。在 msdn.microsoft/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 msdn.microsoft/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.

更多推荐

为管理应用程序生成具有信任级别部分的应用程序清单

本文发布于:2023-11-05 08:41:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560389.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   清单   级别

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!