未处理的子Wix节点Bundle

问题描述 投票:0回答:1

我想在OSX上用msitools创建一个msi。

这是我的简单xml文件

<Bundle Name="some-cool-name-for-the-whole-thing"
    Version="1.0"
    UpgradeCode="your-guid-here">

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
    <bal:WixStandardBootstrapperApplication
        LicenseUrl=""
        ShowVersion="yes"/>
</BootstrapperApplicationRef>
  <Chain>
    <ExePackage Id="some_id"
          SourceFile="path-to-the-setup.exe">
      <CommandLine InstallArgument="/s " />
    </ExePackage>

    <MsiPackage Id="some-other-id-here"
      SourceFile="path-to-the-MSI-you-made-for-your-app">
    </MsiPackage>
  </Chain>
</Bundle>

它基于这里的答案:https://stackoverflow.com/a/42102377/58129

我用msitools安装了brewmsitools的版本是0.97。

我运行以下命令

 wixl main.xml -o main.msi

我收到此错误:

(wixl:28560): wixl-ERROR **: wix.vala:218: unhandled child Wix node Bundle
Trace/BPT trap: 5

我试图进一步简化xml

我仍然得到相同的错误消息

我的xml文件有问题吗?或者我错误地调用了命令?

macos wix msitools
1个回答
0
投票

wixl不支持bundle。您可以在https://github.com/GNOME/msitools/tree/master/tools/wixl上看到源代码。

© www.soinside.com 2019 - 2024. All rights reserved.