<Project Sdk="WixToolset.Sdk/4.0.1"> <PropertyGroup> <OutputType>Bundle</OutputType> <OutputName>Elwig</OutputName> <Cultures>de-AT</Cultures> </PropertyGroup> <Target Name="CustomBeforeBuild" BeforeTargets="BeforeBuild"> <Exec Command='curl -s -L "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -z "$(ProjectDir)\Files\MicrosoftEdgeWebview2Setup.exe" -o "$(ProjectDir)\Files\MicrosoftEdgeWebview2Setup.exe"' /> <Exec Command='curl -s -L "https://aka.ms/vs/17/release/vc_redist.x86.exe" -z "$(ProjectDir)\Files\VC_redist.x86.exe" -o "$(ProjectDir)\Files\VC_redist.x86.exe"' /> <PropertyGroup> <DefineConstants>ElwigProjectDir=..\Elwig</DefineConstants> </PropertyGroup> </Target> <ItemGroup> <ProjectReference Include="..\Installer\Installer.wixproj" /> <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.3" /> <PackageReference Include="WixToolset.Util.wixext" Version="4.0.3" /> </ItemGroup> </Project>