强名称、清单和代码签名

发布于 2024-07-23 10:59:30 字数 165 浏览 3 评论 0原文

这些应该按什么顺序进行? 我正在从 .Net 应用程序的命令提示符处执行此操作。 我能够成功地进行强名称和代码签名,但是当我尝试所有三个时,它看起来不起作用(==> Vista 仍然尝试以提升的权限运行应用程序,导致出现提示,尽管我在 asInvoker 设置请求的执行级别)

提前致谢

What order should these be done in? I'm doing this from the command prompt for a .Net app. I was able to do just strong name and code signing successfully, but when I tried all three, it doesn't look like it worked (==> Vista still trying to run the app with elevated privileges resulting in a prompt, though I set the requestedexecutionlevel at asInvoker)

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

肩上的翅膀 2024-07-30 10:59:30

Brian,

“Vista 仍然尝试以更高的权限运行应用程序,导致出现提示”

我认为代码签名无法避免以更高权限运行的提示,代码签名唯一避免的就是警告“来自未知编辑器的应用程序” ”。

Brian,

"Vista still trying to run the app with elevated privileges resulting in a prompt"

I think the prompt for running with higher privileges cannot be avoided by code signing, the only thing you avoid with code signing is the warning "application from unkown editor".

骷髅 2024-07-30 10:59:30

在我看来,顺序应该如下:

  1. Manifest
  2. Codesign
  3. SN Sign

这似乎现在有效。 不确定我是否有 1 & 2 之前或者如果我在命令提示符处做错了什么(我有一个 ;#2 标记到输出资源——来自示例命令——我认为这是不正确的)。 关于这一点,有谁知道命令行工具的良好参考吗? 我去过 msdn 页面,但他们假定有很多基础知识。

It looks to me like the order should be the following:

  1. Manifest
  2. Codesign
  3. SN Sign

This seems to be working now. Not sure if I had 1 & 2 backwards before or if I did something wrong at the command prompt (I had a ;#2 tagged to the output resource--from a sample command--that I think is incorrect). On that note, does anyone know a good reference for the command line tools? I've been to the msdn pages, but they presume a lot of underlying knowledge.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文