【发布时间】:2013-07-21 00:43:08
【问题描述】:
我正在使用 exePackage 属性来下载一个 exe 包——实际上是来自微软的 VSTO 运行时。
获取包失败。
我相信这是将其添加到 CHAIN 的正确方法
<ExePackage Id="VSTORuntime" SourceFile="vstor_redist.exe" Permanent="yes" Vital="yes" Cache="no" Compressed="no"
DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=158917"
PerMachine="yes"
InstallCommand="/q /norestart"
DetectCondition="VSTORFeature"
InstallCondition="NOT VSTORFeature OR NOT (VSTORVersionV4R >=v10.0.40303) OR NOT (VSTORVersionV4 >=v10.0.21022)" />
这是日志文件部分。它会这样做大约 3 次。
[0D98:06A8][2013-07-22T11:47:31]w343: Prompt for source of package: VSTORuntime, payload: VSTORuntime, path: F:\vstor_redist.exe
[0D98:06A8][2013-07-22T11:47:31]i338: Acquiring package: VSTORuntime, payload: VSTORuntime, download from: http://go.microsoft.com/fwlink/?LinkId=158917
[16A0:0BE4][2013-07-22T11:47:37]e000: Error 0x80070490: Failed to find expected public key in certificate chain.
[16A0:0BE4][2013-07-22T11:47:37]e000: Error 0x80070490: Failed to verify expected payload against actual certificate chain.
[16A0:0BE4][2013-07-22T11:47:37]e000: Error 0x80070490: Failed to verify signature of payload: VSTORuntime
【问题讨论】:
-
真的没人吗?为什么。我的代码有什么问题?这是一个非常常见的软件包,而且微软肯定已经对其软件包进行了签名等。
-
现在有 2 个答案...您能否对有效的答案进行投票,并对无效的答案发表评论。谢谢!