【问题标题】:WiX 3.8 Burn failed to elevate package installerWiX 3.8 Burn 无法提升软件包安装程序
【发布时间】:2014-02-10 11:01:20
【问题描述】:

我正在制作一个包安装程序,并遵循KISS 原则。在 WiX 3.6-3.8 中制作的捆绑软件无法在 Windows XP 上运行(但在 Windows 7 中可以正常运行)。原因是海拔错误0x800705b4。

[14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to wait for child to connect to pipe.
[14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to connect to elevated child process.
[14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to actually elevate.
[14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to elevate.

我准备了一个更简单的示例,主要遵循 WiX 手册中的说明:

<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">

    <Bundle Version="1.0" Manufacturer="Man" UpgradeCode="6E06DEA1-6FF1-4E29-B3DC-A846DD804BF9">
            <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/>
        <Chain>
            <MsiPackage Id="testmsi" Vital="yes" SourceFile="D:\Documents and Settings\Administrator\Desktop\mysql-connector-net-6.8.3.msi" />
        </Chain>
    </Bundle>
</Wix>

【问题讨论】:

    标签: wix windows-xp bootstrapper burn


    【解决方案1】:

    我为这个问题奋斗了好几天。我想出的唯一解决方案是创建一个 EXE 文件而不是 MSI 文件:

    candle Bundle.wxs -dTargetFileName=Bundle.exe  -dTargetExt=.exe
    

    light Bundle.wixobj -out Bundle.exe

    在安装了 WiX 工具集的 Visual Studio 中更容易做到这一点。一定要打开安装项目的属性,选择EXE文件输出。

    希望对你有帮助,干杯:)

    【讨论】:

    • 实际上这是我前一段时间的问题之一:请参阅我的question,我自己设法解决了。在这里,该包中的 msi 文件还有其他问题。
    猜你喜欢
    • 2012-01-31
    • 1970-01-01
    • 1970-01-01
    • 2017-03-04
    • 1970-01-01
    • 1970-01-01
    • 2019-05-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多