[wix-users] MSBuild target for harvesting a .reg file

Edwin Castro egcastr at gmail.com
Fri Mar 23 11:01:50 PDT 2018

WiX doesn't provide a task/target to harvest a registry file. You'll need
to use a pre-build event (or custom target) to call heat.exe directly
unless you want to write your own custom task similar to HeatProject <
HeatFile <
or HeatDirectory <
that harvests a registry file.

Edwin G. Castro

On Fri, Mar 23, 2018 at 9:17 AM, Luca Bacci via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi,
> I have a rather large .reg file containing all needed registry entries for
> the application. I am using Wix 3 in Visual Studio. I have succesfully
> integrated a HarvestDirectory target in the wix project file, but I wasn't
> able to make a target for a .reg file. How can I do it? Do I have to use a
> Pre-Build Event?
> Thank you all!
> Luca
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list