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
Wix 引用托管引导程序应用程序先决条件eula的压缩负载_Wix_Wix3.7_Burn - Fatal编程技术网

Wix 引用托管引导程序应用程序先决条件eula的压缩负载

Wix 引用托管引导程序应用程序先决条件eula的压缩负载,wix,wix3.7,burn,Wix,Wix3.7,Burn,我正在构建一个安装包,它需要在非internet连接的环境中工作,因此我在包中包含了.NET 4.0 framework安装程序及其相应的eula。我从wix37 sources\src\ext\NetFxExtension\wixlib\NetFx4.wxs复制了源代码,但做了一些修改,使包被压缩,而不是远程负载 <!-- Referencing the NetFx40Full package will cause these WixVariables to be defined --&

我正在构建一个安装包,它需要在非internet连接的环境中工作,因此我在包中包含了.NET 4.0 framework安装程序及其相应的eula。我从
wix37 sources\src\ext\NetFxExtension\wixlib\NetFx4.wxs
复制了源代码,但做了一些修改,使包被压缩,而不是远程负载

<!-- Referencing the NetFx40Full package will cause these WixVariables to be defined -->
<!-- which indicates to the bootstrapper engine what the MBA dependency is -->
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx40Full"/>
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetFX_4_all_FINAL_RTM.rtf"/>

<PackageGroup Id="NetFx40Full">
  <ExePackage
      Id="NetFx40Full"
      InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
      UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      PerMachine="yes"
      DetectCondition="NETFRAMEWORK40"
      Vital="yes"
      Permanent="yes"
      Protocol="netfx4"
      SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\dotNetFx40_Full_x86_x64.exe"
      Compressed="yes">

    <Payload SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\NetFX_4_all_FINAL_RTM.rtf"
             Compressed="yes"/>
  </ExePackage>
</PackageGroup>
但是,我还没有弄清楚如何让eula链接从捆绑包中加载有效负载。我总是得到:

[0930:0BDC][2013-08-22T16:02:37]e000: Error 0x80070002: Failed to launch URL to EULA.
<!-- Referencing the NetFx40Full package will cause these WixVariables to be defined -->
<!-- which indicates to the bootstrapper engine what the MBA dependency is -->
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx40Full"/>
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetFX_4_all_FINAL_RTM.rtf"/>

<PackageGroup Id="NetFx40Full">
  <ExePackage
      Id="NetFx40Full"
      InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
      UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      PerMachine="yes"
      DetectCondition="NETFRAMEWORK40"
      Vital="yes"
      Permanent="yes"
      Protocol="netfx4"
      SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\dotNetFx40_Full_x86_x64.exe"
      Compressed="yes">

    <Payload SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\NetFX_4_all_FINAL_RTM.rtf"
             Compressed="yes"/>
  </ExePackage>
</PackageGroup>
以下是wix来源:

<!-- Referencing the NetFx40Full package will cause these WixVariables to be defined -->
<!-- which indicates to the bootstrapper engine what the MBA dependency is -->
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx40Full"/>
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetFX_4_all_FINAL_RTM.rtf"/>

<PackageGroup Id="NetFx40Full">
  <ExePackage
      Id="NetFx40Full"
      InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
      UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      PerMachine="yes"
      DetectCondition="NETFRAMEWORK40"
      Vital="yes"
      Permanent="yes"
      Protocol="netfx4"
      SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\dotNetFx40_Full_x86_x64.exe"
      Compressed="yes">

    <Payload SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\NetFX_4_all_FINAL_RTM.rtf"
             Compressed="yes"/>
  </ExePackage>
</PackageGroup>

<!-- Referencing the NetFx40Full package will cause these WixVariables to be defined -->
<!-- which indicates to the bootstrapper engine what the MBA dependency is -->
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx40Full"/>
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetFX_4_all_FINAL_RTM.rtf"/>

<PackageGroup Id="NetFx40Full">
  <ExePackage
      Id="NetFx40Full"
      InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
      UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      PerMachine="yes"
      DetectCondition="NETFRAMEWORK40"
      Vital="yes"
      Permanent="yes"
      Protocol="netfx4"
      SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\dotNetFx40_Full_x86_x64.exe"
      Compressed="yes">

    <Payload SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\NetFX_4_all_FINAL_RTM.rtf"
             Compressed="yes"/>
  </ExePackage>
</PackageGroup>

<!-- Referencing the NetFx40Full package will cause these WixVariables to be defined -->
<!-- which indicates to the bootstrapper engine what the MBA dependency is -->
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx40Full"/>
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetFX_4_all_FINAL_RTM.rtf"/>

<PackageGroup Id="NetFx40Full">
  <ExePackage
      Id="NetFx40Full"
      InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
      UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      PerMachine="yes"
      DetectCondition="NETFRAMEWORK40"
      Vital="yes"
      Permanent="yes"
      Protocol="netfx4"
      SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\dotNetFx40_Full_x86_x64.exe"
      Compressed="yes">

    <Payload SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\NetFX_4_all_FINAL_RTM.rtf"
             Compressed="yes"/>
  </ExePackage>
</PackageGroup>
这真的可能吗

<!-- Referencing the NetFx40Full package will cause these WixVariables to be defined -->
<!-- which indicates to the bootstrapper engine what the MBA dependency is -->
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx40Full"/>
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetFX_4_all_FINAL_RTM.rtf"/>

<PackageGroup Id="NetFx40Full">
  <ExePackage
      Id="NetFx40Full"
      InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
      UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
      PerMachine="yes"
      DetectCondition="NETFRAMEWORK40"
      Vital="yes"
      Permanent="yes"
      Protocol="netfx4"
      SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\dotNetFx40_Full_x86_x64.exe"
      Compressed="yes">

    <Payload SourceFile="$(var.SourceRoot)\Deployment\Packages\.NET Framework 4.0\NetFX_4_all_FINAL_RTM.rtf"
             Compressed="yes"/>
  </ExePackage>
</PackageGroup>