Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一直在环顾四周,我似乎找不到解决方案。
问题:我有一个 .reg 文件,我需要在安装过程中将它添加到注册表中。我正在使用 WIX 3.5。我无法使用 Registrykey 等手动添加它,因为我的客户可能已经更改了它的内容。
有任何想法吗?
谢谢
您可以尝试使用heat.exe并将.reg文件收集到 WiX 片段中。它可能看起来像这样:
heat.exe
.reg
heat.exe reg myregistry.reg -out registry.wxs
尝试其他选项heat.exe以获得所需的输出。