aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/PatchTests/PackageAv1
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/PackageAv1
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/PackageAv1')
-rw-r--r--src/TestData/PatchTests/PackageAv1/PackageA.props12
-rw-r--r--src/TestData/PatchTests/PackageAv1/PackageAv1.wixproj4
-rw-r--r--src/TestData/PatchTests/PackageAv1/ProductComponents.wxs17
3 files changed, 33 insertions, 0 deletions
diff --git a/src/TestData/PatchTests/PackageAv1/PackageA.props b/src/TestData/PatchTests/PackageAv1/PackageA.props
new file mode 100644
index 00000000..1209d09e
--- /dev/null
+++ b/src/TestData/PatchTests/PackageAv1/PackageA.props
@@ -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>
3 <PropertyGroup>
4 <PackageName>PackageA</PackageName>
5 <ProductComponentsRef>true</ProductComponentsRef>
6 <ProductCode>{724F9BA5-DD9D-4851-855E-ECC35B27BF11}</ProductCode>
7 <UpgradeCode>{C56DA396-7A9A-4177-8264-638161CE9EB8}</UpgradeCode>
8 </PropertyGroup>
9 <ItemGroup>
10 <Compile Include="..\..\Templates\Package.wxs" Link="Package.wxs" />
11 </ItemGroup>
12</Project> \ No newline at end of file
diff --git a/src/TestData/PatchTests/PackageAv1/PackageAv1.wixproj b/src/TestData/PatchTests/PackageAv1/PackageAv1.wixproj
new file mode 100644
index 00000000..45d3b2c8
--- /dev/null
+++ b/src/TestData/PatchTests/PackageAv1/PackageAv1.wixproj
@@ -0,0 +1,4 @@
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 <Import Project="PackageA.props" />
4</Project> \ No newline at end of file
diff --git a/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs b/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs
new file mode 100644
index 00000000..81c6da0c
--- /dev/null
+++ b/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs
@@ -0,0 +1,17 @@
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<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:swid="http://wixtoolset.org/schemas/v4/wxs/tag">
4 <Fragment>
5 <ComponentGroup Id="ProductComponents">
6 <ComponentRef Id="RegistryComponent2" />
7 </ComponentGroup>
8
9 <!-- <swid:Tag Regid="regid.1995-08.com.example" /> -->
10 </Fragment>
11
12 <Fragment>
13 <Component Id="RegistryComponent2" Directory="INSTALLFOLDER">
14 <RegistryValue Root="HKLM" Key="Software\WiX\Tests\$(var.TestGroupName)" Name="$(var.PackageName)2" Value="!(bind.Property.TestVersion)" Type="string" />
15 </Component>
16 </Fragment>
17</Wix>