I am using VS2022 to build an installer with the Wix toolset.
When using version 3 a had an ‘AfterBuild’ step that called Torch to create mst files for multiple languages.
<Torch BaselineFile="$(OutDir)en-US$(TargetFileName)" UpdateFile="$(OutDir)nl-NL$(TargetFileName)" OutputFile="$(OutDir)1043.mst" TransformValidationType="language" ToolPath="$(WixToolPath)" RunAsSeparateProcess="true" />
After that I used EmbedTransform.exe to merge mst files to an existing msi.
<Exec Command="$(MSBuildProjectDirectory)..ToolsEmbedTransform.exe "$(OutDir)$(TargetFileName)" $(OutDir)1043.mst" />
Since using version 5, I am not able to use Torch or EmbedTransform
How can I achieve these step in the latest version of the wix toolset in Visual studio (in a single build action)