Move installer signing into MSBuild

This commit is contained in:
Cameron Gutman 2023-07-14 20:31:32 -05:00
commit 34ba9063ad
5 changed files with 16 additions and 20 deletions

View file

@ -9,6 +9,15 @@
<OutputPath>$(INSTALLER_FOLDER)\</OutputPath>
<IntermediateOutputPath>$(BUILD_FOLDER)\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(SIGN)!=''">
<SignOutput>true</SignOutput>
</PropertyGroup>
<Target Name="SignBundleEngine">
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundleEngine.FullPath)' />
</Target>
<Target Name="SignBundle">
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundle.FullPath)' />
</Target>
<ItemGroup>
<PackageReference Include="WixToolset.Bal.wixext" Version="4.*" />
<PackageReference Include="WixToolset.Util.wixext" Version="4.*" />