aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/TestData
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-03-07 14:48:08 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-03-08 15:51:55 -0600
commit6bcf25fe37f0b4dc5f2f43720777e7ab0d26b030 (patch)
tree1b6106f9cae45fb60c59f1df45c328408c286865 /src/test/WixToolsetTest.CoreIntegration/TestData
parent7fa2390b06b643ec775d00d7938c1624f5c0fdfe (diff)
downloadwix-6bcf25fe37f0b4dc5f2f43720777e7ab0d26b030.tar.gz
wix-6bcf25fe37f0b4dc5f2f43720777e7ab0d26b030.tar.bz2
wix-6bcf25fe37f0b4dc5f2f43720777e7ab0d26b030.zip
Add failing test for patch from MSI that included a file from a wixext.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Package.wxs30
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Patch.wxs16
2 files changed, 46 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Package.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Package.wxs
new file mode 100644
index 00000000..5cb8ede8
--- /dev/null
+++ b/src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Package.wxs
@@ -0,0 +1,30 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2 <Package Name="~Test Package" Version="$(var.V)" Manufacturer="Example Corporation" Language="1033" UpgradeCode="{6B8097B9-A5D0-4BDE-B21E-AF6622DDCA01}" Scope="perMachine" ProductCode="{7C871EC1-1F89-4850-A6A9-D7A4C21769F6}">
3 <MajorUpgrade DowngradeErrorMessage="Newer version already installed." />
4 <MediaTemplate EmbedCab="yes" />
5
6 <CustomAction Id="CAFromExtension" DllEntry="DoesntExist" BinaryRef="BinFromWir" />
7
8 <Directory Id="TARGETDIR" Name="SourceDir">
9 <Directory Id="ProgramFilesFolder">
10 <Directory Id="INSTALLFOLDER" Name="~Test App" />
11 </Directory>
12 </Directory>
13
14 <Feature Id="Main">
15 <ComponentGroupRef Id="Components" />
16 </Feature>
17 </Package>
18
19 <Fragment>
20 <ComponentGroup Id="Components" Directory="INSTALLFOLDER">
21 <Component>
22 <File Source="$(sys.SOURCEFILEPATH)" />
23 </Component>
24
25 <Component>
26 <RegistryValue Root="HKLM" Key="SOFTWARE\!(bind.property.ProductName)\Patch" Name="Version" Value="$(var.V)" />
27 </Component>
28 </ComponentGroup>
29 </Fragment>
30</Wix>
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Patch.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Patch.wxs
new file mode 100644
index 00000000..52e87f64
--- /dev/null
+++ b/src/test/WixToolsetTest.CoreIntegration/TestData/PatchFromWixlib/Patch.wxs
@@ -0,0 +1,16 @@
1<Wix xmlns='http://wixtoolset.org/schemas/v4/wxs'>
2 <Patch
3 AllowRemoval="yes"
4 DisplayName="~Test Patch v$(var.V)"
5 Description="~Test Small Update Patch v$(var.V)"
6 MoreInfoURL="http://www.example.com/"
7 Manufacturer="Example Corporation"
8 Classification="Update">
9
10 <Media Id="1" Cabinet="foo.cab">
11 <PatchBaseline Id="RTM" BaselineFile="Baseline.wixpdb" UpdateFile="Update.wixpdb" />
12 </Media>
13
14 <PatchFamily Id='SequenceFamily' Version='$(var.V)' />
15 </Patch>
16</Wix>