Skip to content

Commit 1d0ceac

Browse files
committed
Updates to TestBed-Basic-Package Wix project
1 parent e0be93a commit 1d0ceac

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

BranchSDK-Samples/Windows/TestBed-Basic/TestBed-Basic-Package/Product.wxs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
Advertise="yes"
3535
Icon="branch.exe" />
3636
</File>
37+
<File Id="TestBedPdb" Source="$(var.ProjectDir)..\Debug\TestBed-Basic.pdb" />
3738
</Component>
3839
<Component Id="WelcomePage" Guid="fc9d0d52-7c4e-4402-b189-db6711b3d154">
3940
<File Id="Welcome.html" Source="$(var.ProjectDir)..\Welcome.html" KeyPath="yes">

BranchSDK-Samples/Windows/TestBed-Basic/TestBed-Basic-Package/TestBed-Basic-Package.wixproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<SchemaVersion>2.0</SchemaVersion>
99
<OutputName>TestBed-Basic</OutputName>
1010
<OutputType>Package</OutputType>
11+
<SignOutput>true</SignOutput>
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1314
<OutputPath>bin\$(Configuration)\</OutputPath>
@@ -43,6 +44,13 @@
4344
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
4445
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
4546
</Target>
47+
<!-- https://wixtoolset.org/documentation/manual/v3/overview/insignia.html for these targets and the SignOutput property -->
48+
<Target Name="SignCabs">
49+
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\10\App Certification Kit\Signtool.exe&quot; sign /a &quot;%(SignCabs.FullPath)&quot;" />
50+
</Target>
51+
<Target Name="SignMsi">
52+
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\10\App Certification Kit\Signtool.exe&quot; sign /a &quot;%(SignMsi.FullPath)&quot;" />
53+
</Target>
4654
<!--
4755
To modify your build process, add your task inside one of the targets below and uncomment it.
4856
Other similar extension points exist, see Wix.targets.
@@ -51,4 +59,4 @@
5159
<Target Name="AfterBuild">
5260
</Target>
5361
-->
54-
</Project>
62+
</Project>

0 commit comments

Comments
 (0)