WiX 引导程序。无法连接 msi 包

WiX Bootstrapper. Unable to connect msi package

在我的引导程序中,我需要调用第三方 msi 包。但是我得到一个错误 error LGHT0364: The MSI ... set the ALLUSERS Property to ... which is not supported. Remove the Property with Id='ALLUSERS' and use Package/@InstallScope attribute instead.

有什么解决办法吗?或者任何关于如何以不同方式调用此第三方 msi 的想法。

我这样连接链中的包:

<Chain>
  <PackageGroupRef Id="NetFx40Web" />
  <RollbackBoundary />
  <MsiPackage Id="CSP" SourceFile="$(env.WIX_CSP_MSI)" DisplayInternalUI="yes" Compressed="no"></MsiPackage>
  <MsiPackage Id="Dict" SourceFile="$(env.WIX_DICT_MSI)" DisplayInternalUI="yes" Compressed="no" Vital="yes">
  </MsiPackage>
  <MsiPackage SourceFile="$(env.WIX_MSI_PATH)" >
    <MsiProperty Name="INSTALLFOLDER" 
                 Value="[InstallFolder]" />
  </MsiPackage>
</Chain>

ALLUSERS: It might be that your different MSI files have different values for ALLUSERS hard-coded in the Property Table? I am not sure what rules WiX enforces here, but it is natural to want to install all MSI setups in the same context. ALLUSERS 确定安装程序是按用户安装还是按计算机安装。

Hard Coded: Maybe check the MSI files in question using Orca or and see what the value for ALLUSERS is in the Property table?