我有一个使用 WiX Burn v3.8 创建的 exe。我们称之为Bundle.exe。在这个捆绑包中,我有一个具有 3 个功能的 MSI,其中两个嵌套在一个之下。我想从命令行调用 Bundle.exe 并将选定的功能传递到我的 MSI。我应该注意到我有一个现有的 UI,让用户可以选择要安装的功能,所以我不想使用 WiX Bootstrapper 应用程序。
//Fragment of my MSI.wxs
<Feature Id="One">
//ComponentRefs
<Feature Id='A' >
//ComponentRefs
</Feature>
<Feature Id="B" >
//ComponentRefs
</Feature>
</Feature>
//Fragment of my Bundle.wxs
<Bundle>
<Chain>
//List of MsiPackages
</Chain>
</Bundle>