[wix-users] MSBuild target for harvesting a .reg file
Luca Bacci
luca.bacci982 at gmail.com
Fri Mar 23 15:14:09 PDT 2018
Allright, thank you very much Edwin!
Luca
2018-03-23 19:01 GMT+01:00 Edwin Castro <egcastr at gmail.com>:
> 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 <
> https://github.com/wixtoolset/wix3/blob/develop/src/tools/WixTasks/
> heatproject.cs>, HeatFile <https://github.com/
> wixtoolset/wix3/blob/develop/src/tools/WixTasks/heatfile.cs>, or
> HeatDirectory <https://github.com/wixtoolset/wix3/blob/develop/
> src/tools/WixTasks/heatdirectory.cs> 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