| 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 TestVersion?> |
| 4 | <?define TestVersion = 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.TestVersion)" Supersede="yes"> |
| 23 | <ComponentRef Id="RegistryComponent" /> |
| 24 | <PropertyRef Id="TestVersion" /> |
| 25 | </PatchFamily> |
| 26 | </Patch> |
| 27 | </Wix> |