Move installer signing into MSBuild

This commit is contained in:
Cameron Gutman
2023-07-14 20:31:32 -05:00
parent d5e2d59fe9
commit 34ba9063ad
5 changed files with 16 additions and 20 deletions
+6
View File
@@ -20,6 +20,12 @@
</HarvestDirectory>
<BindPath Include="$(DEPLOY_FOLDER)" />
</ItemGroup>
<PropertyGroup Condition="$(SIGN)!=''">
<SignOutput>true</SignOutput>
</PropertyGroup>
<Target Name="SignMsi">
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignMsi.FullPath)' />
</Target>
<ItemGroup>
<PackageReference Include="WixToolset.Firewall.wixext" Version="4.*" />
<PackageReference Include="WixToolset.Util.wixext" Version="4.*" />
@@ -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.*" />