aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/SlipstreamTests/PatchAB2
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-02-17 16:07:18 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-02-17 16:20:10 -0600
commit974381355441c3d95d62af85bdd05f3c0e368eb5 (patch)
treeeae7ac4332184183f01c68e6104d33460db5ae02 /src/TestData/SlipstreamTests/PatchAB2
parent0b5290319a13c8f73315ea0e0407d88bfd79c944 (diff)
downloadwix-974381355441c3d95d62af85bdd05f3c0e368eb5.tar.gz
wix-974381355441c3d95d62af85bdd05f3c0e368eb5.tar.bz2
wix-974381355441c3d95d62af85bdd05f3c0e368eb5.zip
Port the slipstream tests from the old repo.
Diffstat (limited to 'src/TestData/SlipstreamTests/PatchAB2')
-rw-r--r--src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wixproj14
-rw-r--r--src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wxs26
2 files changed, 40 insertions, 0 deletions
diff --git a/src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wixproj b/src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wixproj
new file mode 100644
index 00000000..81fa9e12
--- /dev/null
+++ b/src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wixproj
@@ -0,0 +1,14 @@
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 <ProjectReference Include="..\PackageBv1\PackageBv1.wixproj" />
12 <ProjectReference Include="..\PackageBv1_0_1\PackageBv1_0_1.wixproj" />
13 </ItemGroup>
14</Project> \ No newline at end of file
diff --git a/src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wxs b/src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wxs
new file mode 100644
index 00000000..ebd5bed0
--- /dev/null
+++ b/src/TestData/SlipstreamTests/PatchAB2/PatchAB2.wxs
@@ -0,0 +1,26 @@
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">
8 <Patch AllowRemoval="yes" Classification="Update" Description="Patch AB2 in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch AB2" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes">
9 <Media Id="100" Cabinet="PatchAB2" EmbedCab="yes">
10 <PatchBaseline
11 Id="PatchA"
12 BaselineFile="$(var.PackageAv1.TargetDir)$(var.PackageAv1.TargetName).wixpdb"
13 UpdateFile="$(var.PackageAv1_0_1.TargetDir)$(var.PackageAv1_0_1.TargetName).wixpdb"
14 />
15 <PatchBaseline
16 Id="PatchB"
17 BaselineFile="$(var.PackageBv1.TargetDir)$(var.PackageBv1.TargetName).wixpdb"
18 UpdateFile="$(var.PackageBv1_0_1.TargetDir)$(var.PackageBv1_0_1.TargetName).wixpdb"
19 />
20 </Media>
21
22 <PatchFamily Id="AB2" Version="$(var.Version)" Supersede="yes">
23 <ComponentRef Id="RegistryComponent2" />
24 </PatchFamily>
25 </Patch>
26</Wix>