/
WixBuild.wixproj.targets
47 lines (38 loc) · 1.76 KB
/
WixBuild.wixproj.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<SignToolExe>"$(PlatformSdkBinPath)signtool.exe"</SignToolExe>
</PropertyGroup>
<Import Project="$(WixTargetsPath)" />
<!-- Signing overrides to actually do signing -->
<!--
We don't sign the Msi Packages or their cabinets because they are
always wrapped in a bundle that is signed.
-->
<Target Name="SignCabs">
<!--
<Exec Command="$(SignToolExe) sign /n ".NET Foundation" /t http://timestamp.digicert.com "%(SignCabs.FullPath)"" />
-->
</Target>
<Target Name="SignMsi">
<!--
<Exec Command="$(SignToolExe) sign /n ".NET Foundation" /t http://timestamp.digicert.com "%(SignMsi.FullPath)"" />
-->
</Target>
<Target Name="SignContainers">
<Exec Command="$(SignToolExe) sign /n ".NET Foundation" /t http://timestamp.digicert.com "%(SignContainers.FullPath)"" />
</Target>
<Target Name="SignBundleEngine">
<Exec Command="$(SignToolExe) sign /n ".NET Foundation" /t http://timestamp.digicert.com "%(SignBundleEngine.FullPath)"" />
</Target>
<Target Name="SignBundle">
<Exec Command="$(SignToolExe) sign /n ".NET Foundation" /t http://timestamp.digicert.com "%(SignBundle.FullPath)"" />
</Target>
<PropertyGroup>
<PrepareForBuildDependsOn>
$(PrepareForBuildDependsOn);
WriteSetupVersionFile
</PrepareForBuildDependsOn>
</PropertyGroup>
</Project>