【问题标题】:Launch InstallShield 7 EXE from WIX Burn bootstrapper从 WIX Burn 引导程序启动 InstallShield 7 EXE
【发布时间】:2013-12-23 10:39:51
【问题描述】:

我有以下 WIX Burn 引导程序代码:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="Test" Version="1.0.0.0" Manufacturer="Test" UpgradeCode="cc44096e-23a6-48ab-a1f1-c75648358049">
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
        <bal:WixStandardBootstrapperApplication SuppressOptionsUI="yes" LicenseUrl="" LogoFile="Logo.bmp"/>
    </BootstrapperApplicationRef>

    <Variable Name="InstallParameter" bal:Overridable="yes" Type="string" Value="" />

    <Chain>
        <ExePackage Name="VS2012_Redist_x86_exe" SourceFile="..\vcredist_x86_2012.exe" DetectCondition="ExeDetectedVariable" Permanent="yes" InstallCommand='/Q' />
        <ExePackage Name="Pack" SourceFile="..\Install.exe" DetectCondition="ExeDetectedVariable" Permanent="no" InstallCommand='[InstallParameter]' />
    </Chain>
</Bundle>
</Wix>

因此,它首先启动 Visual Studio 2012 可再发行组件,然后启动 Install.exe。 Install.exe 是使用 InstallShield 7 构建的安装程序(不是基于 MSI 的安装程序)。 WIX 代码使用 WIX 3.7 编译得很好。运行安装程序时,VS redistributable 安装正常,但 Install.exe 启动,当尝试复制第一个文件时,它给了我:

---------------------------
Component transfer error
---------------------------
Component:  Component1.
File Group: 
File:       
Error:      Catastrophic failure

知道如何从 WIX Burn 引导程序启动这个基于 InstallShield 的安装程序吗?

编辑:原来问题出在第二个 ExePackage 中的 Name="Pack" 属性上。只需删除该属性即可使安装程序正常工作。我觉得很奇怪,那个属性会有这样的副作用。

【问题讨论】:

    标签: wix installshield burn


    【解决方案1】:

    原来问题出在第二个 ExePackage 中的 Name="Pack" 属性上。只需删除该属性即可使安装程序正常工作。我觉得很奇怪,那个属性会有这样的副作用。

    【讨论】:

      猜你喜欢
      • 2013-01-04
      • 1970-01-01
      • 2012-01-31
      • 1970-01-01
      • 2014-12-05
      • 1970-01-01
      • 2011-12-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多