我正在使用 WiXHeat.exe
来收集文件目录并创建.wxs
文件。
其中一个文件依赖于Microsoft.DirectX.Direct3D.dll
. 而 Heat 在“根”注册表下注册了所有其余的依赖项,例如:
<RegistryValue Root="HKCR" Key="..." Name="..." Value="..." Type="string" Action="write" />
Direct3D 正在“用户”注册表下注册。
<RegistryValue Root="HKCU" Key="Software\Microsoft\Direct3D\MostRecentApplication" Name="Name" Value="heat.exe" Type="string" Action="write" />
导致以下错误:
ICE57:组件“x”具有每个用户和每个机器的数据以及每个机器的 KeyPath
我该如何解决这个问题?