diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-11-10 22:48:05 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-11-10 23:49:10 -0600 |
commit | 209c92111928a98972d7f0f9d6d620ab566564d9 (patch) | |
tree | fd13d81105b02e63cc61c7819dba6f5c6c7e936e /src/test/burn/TestData/BAFunctionsTests/BundleAv2 | |
parent | 3f6a633769a9c732db765411ef9b810133ad3957 (diff) | |
download | wix-209c92111928a98972d7f0f9d6d620ab566564d9.tar.gz wix-209c92111928a98972d7f0f9d6d620ab566564d9.tar.bz2 wix-209c92111928a98972d7f0f9d6d620ab566564d9.zip |
Automate the test for GetRelatedBundleVariable.
Diffstat (limited to 'src/test/burn/TestData/BAFunctionsTests/BundleAv2')
-rw-r--r-- | src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wixproj | 13 | ||||
-rw-r--r-- | src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wxs | 15 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wixproj b/src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wixproj new file mode 100644 index 00000000..dee120d7 --- /dev/null +++ b/src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wixproj | |||
@@ -0,0 +1,13 @@ | |||
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="..\BundleAv1\BundleA.props" /> | ||
4 | <PropertyGroup> | ||
5 | <Version>2.0.0.0</Version> | ||
6 | </PropertyGroup> | ||
7 | <ItemGroup> | ||
8 | <ProjectReference Include="..\PackageAv2\PackageAv2.wixproj" /> | ||
9 | </ItemGroup> | ||
10 | <ItemGroup> | ||
11 | <PackageReference Include="WixToolset.Bal.wixext" /> | ||
12 | </ItemGroup> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wxs b/src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.wxs new file mode 100644 index 00000000..8608512c --- /dev/null +++ b/src/test/burn/TestData/BAFunctionsTests/BundleAv2/BundleAv2.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.PackageAv2.TargetPath)" /> | ||
11 | </PackageGroup> | ||
12 | <Variable Name="ANumber" bal:Overridable="yes" Value="4242" Persisted="yes" /> | ||
13 | <Variable Name="AString" bal:Overridable="yes" Value="This is a test v2" Persisted="yes" /> | ||
14 | </Fragment> | ||
15 | </Wix> | ||