diff options
Diffstat (limited to 'src/TestData/SlipstreamTests/PatchAB')
| -rw-r--r-- | src/TestData/SlipstreamTests/PatchAB/PatchAB.wixproj | 14 | ||||
| -rw-r--r-- | src/TestData/SlipstreamTests/PatchAB/PatchAB.wxs | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/src/TestData/SlipstreamTests/PatchAB/PatchAB.wixproj b/src/TestData/SlipstreamTests/PatchAB/PatchAB.wixproj new file mode 100644 index 00000000..81fa9e12 --- /dev/null +++ b/src/TestData/SlipstreamTests/PatchAB/PatchAB.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/PatchAB/PatchAB.wxs b/src/TestData/SlipstreamTests/PatchAB/PatchAB.wxs new file mode 100644 index 00000000..f700f35c --- /dev/null +++ b/src/TestData/SlipstreamTests/PatchAB/PatchAB.wxs | |||
| @@ -0,0 +1,27 @@ | |||
| 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 AB in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch AB" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes"> | ||
| 9 | <Media Id="100" Cabinet="PatchAB" 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="AB" Version="$(var.Version)" Supersede="yes"> | ||
| 23 | <ComponentRef Id="RegistryComponent" /> | ||
| 24 | <PropertyRef Id="TestVersion" /> | ||
| 25 | </PatchFamily> | ||
| 26 | </Patch> | ||
| 27 | </Wix> | ||
