aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/PatchTests/PatchA/PatchA.wxs
blob: 067f25ca256708ccd6a5d3f3184349b7e00d1afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- 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. -->

<?ifndef Version?>
<?define Version = 1.0.0.0?>
<?endif?>

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:swid="http://wixtoolset.org/schemas/v4/wxs/tag">
    <Patch AllowRemoval="yes" Classification="Update" Description="Patch A in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch A" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes">
        <Media Id="100" Cabinet="PatchA" EmbedCab="yes">
            <PatchBaseline
              Id="PatchA"
              BaselineFile="$(var.PackageAv1.TargetDir)$(var.PackageAv1.TargetName).wixpdb"
              UpdateFile="$(var.PackageAv1_0_1.TargetDir)$(var.PackageAv1_0_1.TargetName).wixpdb"
            />
        </Media>

        <PatchFamily Id="A" Version="$(var.Version)" Supersede="yes">
          <!-- <swid:TagRef Regid="regid.1995-08.com.example" /> -->

          <ComponentRef Id="RegistryComponent"/>
          <PropertyRef Id="TestVersion"/>
        </PatchFamily>
    </Patch>
</Wix>