Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Installation 捆绑无效有效负载原因:0x80070570_Installation_Wix_Bundle_Sign_Bootstrapper - Fatal编程技术网

Installation 捆绑无效有效负载原因:0x80070570

Installation 捆绑无效有效负载原因:0x80070570,installation,wix,bundle,sign,bootstrapper,Installation,Wix,Bundle,Sign,Bootstrapper,WIX3.6。我正在尝试运行一个捆绑包: <Bundle Name="Setup" Version="1.0.0.0" Manufacturer="Bentley" UpgradeCode="37d68094-0b98-4b16-bfbe-7f0d3015064a"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /> <Chain>

WIX3.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>
日志文件显示:

Detected partially cached package: MyMsiFileWhichIsFine.msi, invalid payload: MyMsiFileWhichIsFine.msi, reason: 0x80070570
我签了这个msi。引导程序也使用(cf this)进行签名:


一种可能性是msi是在外部创建的,而不是使用WIX中的Heat.exe。我在尝试使用VB6文件时遇到过类似的问题,必须添加标志以忽略这些检查。但在您的情况下,引导程序可能无法正确解释msi。msi是如何创建的?你用暖气了吗?如果可以的话,你能发布加热线吗?

我找到了一个解决方案!我只是像这样跳过签名验证:

<ExePackage SourceFile="MyPath\MyFileToLaunch.exe" Compressed="no" SuppressSignatureVerification="yes"/>


谢谢你的回答!我用蜡烛和灯光创建了微星。我计划在这个引导程序中添加一个用C#.Net 3.5编写的.exe。我在命令行中编译了所有内容(包括上面的内容)。什么是热?在这种情况下我应该如何使用它?是一种用于将文件捕获到MSI中的工具。它将创建wxs文件(这是一个文件列表))以包含在Product.wxs中,其中包含安装程序如何运行和安装的定义。另一方面,您可以尝试运行orca和msiexec来查看/提取文件?如果你有时间的话,可能值得做一个热和/或安装项目来创建msi。如果我有时间,我会看一看。与此同时,我试图用刚才提到的exe替换要启动的msi文件。结果完全一样。
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
<ExePackage SourceFile="MyPath\MyFileToLaunch.exe" Compressed="no" SuppressSignatureVerification="yes"/>