I am trying to learn Wix 4.0 to create an installer for an application I am developing. Once my application is built I have a bunch of files one folder that I would like to install to program files, I have read that the harvesting functionality allows me to streamline this process and create component mappings for the entire directory, but I am not sure what this example is showing. I am curious about what the <ItemGroup>
tag is, and I think I have a fundamental misunderstanding of how to point this to my directory in order to use the components.
<Project Sdk="WixToolset.Sdk">
<ItemGroup>
<HarvestDirectory Include="FilesDir">
<ComponentGroupName>HarvestedComponents</ComponentGroupName>
<DirectoryRefId>ApplicationFolder</DirectoryRefId>
<SuppressRootDirectory>true</SuppressRootDirectory>
</HarvestDirectory>
<BindPath Include="FilesDir" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Heat" />
</ItemGroup>
</Project>
Thanks, and I will edit with more information where needed.