未处理的子 Wix 节点包
unhandled child Wix node Bundle
我正在尝试在 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>
它基于这里的答案:
我使用 brew
安装了 msitools
。 msitools
的版本是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 文件有问题吗?还是我错误地调用了命令?
wixl 不支持捆绑包。您可以在 https://github.com/GNOME/msitools/tree/master/tools/wixl.
查看源代码
我正在尝试在 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>
它基于这里的答案:
我使用 brew
安装了 msitools
。 msitools
的版本是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 文件有问题吗?还是我错误地调用了命令?
wixl 不支持捆绑包。您可以在 https://github.com/GNOME/msitools/tree/master/tools/wixl.
查看源代码