installation - bundle 无效负载原因 : 0x80070570

标签 installation wix bundle sign bootstrapper

维克斯 3.6。我正在尝试运行一个包:

<Bundle Name="Setup" Version="1.0.0.0" Manufacturer="Bentley" UpgradeCode="37d68094-0b98-4b16-bfbe-7f0d3015064a">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

    <Chain>
  <MsiPackage SourceFile="path/to/MyMsiFileWhichIsFine.msi" Cache="yes" Compressed="no" InstallCondition="1"/>
    </Chain>

执行结果:

0x800b0109 A certification chain processed, but terminated in a root certificate which is not trusted by the trust provider.

日志文件说:

Detected partially cached package: MyMsiFileWhichIsFine.msi, invalid payload: MyMsiFileWhichIsFine.msi, reason: 0x80070570

我签署了这个 msi。 Bootstrap 也使用(cf this link)签名:

insignia -ib Setup.exe -o engine.exe
signtool engine.exe (extra parameters excluded for simplicity)
insignia -ab engine.exe Setup.exe -o Setup.exe
signtool Setup.exe

最佳答案

一种可能是 msi 是在外部创建的,而不是使用作为 WIX 一部分的 Heat.exe。当我尝试使用 VB6 文件时,我遇到了类似的问题,并且不得不添加标志以忽略这些检查。但在您的情况下,Bootstrapper 可能无法正确解释 msi。 msi 是如何创建的?你用的热吗?如果可以,您可以发布热线吗?

关于installation - bundle 无效负载原因 : 0x80070570,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23733259/

相关文章:

wix - 如何从命令行选择功能

perl - 以源代码形式 bundle perl prereq 模块以进行部署?

visual-studio - 在 Visual Studio 的 InstallShield 中创建 setup.exe

c# - 单击一次安装 System.Data.SqlServerCe 出现问题?

android - 如何在没有用户干预的情况下安装 sd 卡的 apk?

visual-studio - 如何在同一台机器上使用多个版本的 Wix?

c# - 在 VS2010 中安装/卸载 MSI 之前运行自定义脚本

wix - 有安装Shield的好选择吗?

ios - 设置不支持的语言时,CFBundleDevelopmentRegion不起作用

mysql - 只为一个 Bundle 创建的 Doctrine Schema