aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/PatchTests/PatchA2
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-27 20:16:39 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-27 21:01:35 -0600
commit347d22f5d5e17bf020fc0c99f1e121e77fcc805c (patch)
tree754bcd24c7e738e60e9d96e74961166baf2a32d5 /src/TestData/PatchTests/PatchA2
parent41f239fb378f8371e10805c3b186ae79d734e4d4 (diff)
downloadwix-347d22f5d5e17bf020fc0c99f1e121e77fcc805c.tar.gz
wix-347d22f5d5e17bf020fc0c99f1e121e77fcc805c.tar.bz2
wix-347d22f5d5e17bf020fc0c99f1e121e77fcc805c.zip
Port the patch tests from the old repo.
Diffstat (limited to 'src/TestData/PatchTests/PatchA2')
-rw-r--r--src/TestData/PatchTests/PatchA2/PatchA2.wixproj12
-rw-r--r--src/TestData/PatchTests/PatchA2/PatchA2.wxs23
2 files changed, 35 insertions, 0 deletions
diff --git a/src/TestData/PatchTests/PatchA2/PatchA2.wixproj b/src/TestData/PatchTests/PatchA2/PatchA2.wixproj
new file mode 100644
index 00000000..da9acb5e
--- /dev/null
+++ b/src/TestData/PatchTests/PatchA2/PatchA2.wixproj
@@ -0,0 +1,12 @@
1<!-- 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. -->
2<Project Sdk="WixToolset.Sdk">
3 <PropertyGroup>
4 <OutputType>PatchCreation</OutputType>
5 <TargetExt>.msp</TargetExt>
6 <SuppressSpecificWarnings>1079</SuppressSpecificWarnings>
7 </PropertyGroup>
8 <ItemGroup>
9 <ProjectReference Include="..\PackageAv1\PackageAv1.wixproj" />
10 <ProjectReference Include="..\PackageAv1_0_1\PackageAv1_0_1.wixproj" />
11 </ItemGroup>
12</Project> \ No newline at end of file
diff --git a/src/TestData/PatchTests/PatchA2/PatchA2.wxs b/src/TestData/PatchTests/PatchA2/PatchA2.wxs
new file mode 100644
index 00000000..a06401cc
--- /dev/null
+++ b/src/TestData/PatchTests/PatchA2/PatchA2.wxs
@@ -0,0 +1,23 @@
1<!-- 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. -->
2
3<?ifndef Version?>
4<?define Version = 1.0.0.0?>
5<?endif?>
6
7<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:swid="http://wixtoolset.org/schemas/v4/wxs/tag">
8 <Patch AllowRemoval="yes" Classification="Update" Description="Patch A2 in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch A2" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes">
9 <Media Id="100" Cabinet="PatchA2" EmbedCab="yes">
10 <PatchBaseline
11 Id="PatchA2"
12 BaselineFile="$(var.PackageAv1.TargetDir)$(var.PackageAv1.TargetName).wixpdb"
13 UpdateFile="$(var.PackageAv1_0_1.TargetDir)$(var.PackageAv1_0_1.TargetName).wixpdb"
14 />
15 </Media>
16
17 <PatchFamily Id="A2" Version="$(var.Version)" Supersede="yes">
18 <!-- <swid:TagRef Regid="regid.1995-08.com.example" /> -->
19
20 <ComponentRef Id="RegistryComponent2"/>
21 </PatchFamily>
22 </Patch>
23</Wix>