summaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/BAFunctionsTests/BundleAv1
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-11-10 22:48:05 -0600
committerSean Hall <r.sean.hall@gmail.com>2022-11-10 23:49:10 -0600
commit209c92111928a98972d7f0f9d6d620ab566564d9 (patch)
treefd13d81105b02e63cc61c7819dba6f5c6c7e936e /src/test/burn/TestData/BAFunctionsTests/BundleAv1
parent3f6a633769a9c732db765411ef9b810133ad3957 (diff)
downloadwix-209c92111928a98972d7f0f9d6d620ab566564d9.tar.gz
wix-209c92111928a98972d7f0f9d6d620ab566564d9.tar.bz2
wix-209c92111928a98972d7f0f9d6d620ab566564d9.zip
Automate the test for GetRelatedBundleVariable.
Diffstat (limited to 'src/test/burn/TestData/BAFunctionsTests/BundleAv1')
-rw-r--r--src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleA.props14
-rw-r--r--src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wixproj10
-rw-r--r--src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wxs15
3 files changed, 39 insertions, 0 deletions
diff --git a/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleA.props b/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleA.props
new file mode 100644
index 00000000..e6cc34cd
--- /dev/null
+++ b/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleA.props
@@ -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>
3 <PropertyGroup>
4 <OutputType>Bundle</OutputType>
5 <BA>hyperlinkLicense</BA>
6 <UpgradeCode>{98ACBCF6-B54A-46AF-8990-DFB8795B965B}</UpgradeCode>
7 </PropertyGroup>
8 <ItemGroup>
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 </ItemGroup>
11 <ItemGroup>
12 <ProjectReference Include="..\BafRelatedBundleVariableTesting\BafRelatedBundleVariableTesting.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" />
13 </ItemGroup>
14</Project>
diff --git a/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wixproj b/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wixproj
new file mode 100644
index 00000000..b2045deb
--- /dev/null
+++ b/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wixproj
@@ -0,0 +1,10 @@
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="BundleA.props" />
4 <ItemGroup>
5 <ProjectReference Include="..\PackageAv1\PackageAv1.wixproj" />
6 </ItemGroup>
7 <ItemGroup>
8 <PackageReference Include="WixToolset.Bal.wixext" />
9 </ItemGroup>
10</Project> \ No newline at end of file
diff --git a/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wxs b/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wxs
new file mode 100644
index 00000000..4aba7a2f
--- /dev/null
+++ b/src/test/burn/TestData/BAFunctionsTests/BundleAv1/BundleAv1.wxs
@@ -0,0 +1,15 @@
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
4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
5 <Fragment>
6 <BootstrapperApplication>
7 <Payload SourceFile="$(var.BafRelatedBundleVariableTesting.TargetPath)" bal:BAFunctions="yes" />
8 </BootstrapperApplication>
9 <PackageGroup Id="BundlePackages">
10 <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" />
11 </PackageGroup>
12 <Variable Name="ANumber" bal:Overridable="yes" Value="42" Persisted="yes" />
13 <Variable Name="AString" bal:Overridable="yes" Value="This is a test" Persisted="yes" />
14 </Fragment>
15</Wix>