Adding a .reg file to registry WIX

2019-02-17 00:18发布

been looking around and I cannot seem to find a solution.

PROBLEM: I have a .reg file and I need to add it to the registry during my install. I am using WIX 3.5. I cannot add it manually using the Registrykey and so on as my customer may have changed its contents.

Any ideas?

Thanks

标签: wix registry
1条回答
Ridiculous、
2楼-- · 2019-02-17 00:33

You can try to use heat.exe and harvest the .reg file into the WiX fragment. It might look like this:

heat.exe reg myregistry.reg -out registry.wxs

Experiment with other options of heat.exe to get the output you need.

查看更多
登录 后发表回答