-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsf.wixproj
32 lines (32 loc) · 1.13 KB
/
sf.wixproj
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
<Project Sdk="WixToolset.Sdk/4.0.1">
<PropertyGroup>
<BuildVersion>1.0.0.0</BuildVersion>
<DefineConstants>Version=$(BuildVersion)</DefineConstants>
<SignOutput>true</SignOutput>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="WixToolset.UI.wixext" Version="4.*" />
<PackageReference Include="WixToolset.Util.wixext" Version="4.*" />
</ItemGroup>
<ItemGroup>
<Content Include="img/icon.ico" />
<Content Include="img/ettrema.ico" />
</ItemGroup>
<Target Name="SignCabs">
<Message Importance="high" Text="SignCabs: @(SignCabs)" />
<Exec Command="signtool.exe sign /v /f $(TestCertificate) /p $(TestPassword) %(SignCabs.FullPath)" />
</Target>
<Target Name="SignMsi">
<Message Importance="high" Text="SignMsi: @(SignMsi)" />
<Exec Command="signtool.exe sign /v /f $(TestCertificate) /p $(TestPassword) "%(SignMsi.FullPath)" " />
</Target>
<ItemGroup>
<Compile Remove="smaller_test\**" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Remove="smaller_test\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="smaller_test\sf.wxs" />
</ItemGroup>
</Project>