diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-08-22 15:11:15 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-08-23 10:26:26 -0500 |
| commit | 42964da2a12df3b6e7d658a8037f17be003b1947 (patch) | |
| tree | a4780a50a0fea0f51525e8a3c05d318e88aac9be /src/test/burn/TestData/FeatureTests/BundleAv1 | |
| parent | cb3776e5e3e075e8e4fe2ae7231ec19f3345c546 (diff) | |
| download | wix-42964da2a12df3b6e7d658a8037f17be003b1947.tar.gz wix-42964da2a12df3b6e7d658a8037f17be003b1947.tar.bz2 wix-42964da2a12df3b6e7d658a8037f17be003b1947.zip | |
Port EnableFeatureSelection tests from v3 repo, add a new one, fix them
Fixes 4616
Diffstat (limited to 'src/test/burn/TestData/FeatureTests/BundleAv1')
3 files changed, 36 insertions, 0 deletions
diff --git a/src/test/burn/TestData/FeatureTests/BundleAv1/BundleA.props b/src/test/burn/TestData/FeatureTests/BundleAv1/BundleA.props new file mode 100644 index 00000000..dcfcbc82 --- /dev/null +++ b/src/test/burn/TestData/FeatureTests/BundleAv1/BundleA.props | |||
| @@ -0,0 +1,11 @@ | |||
| 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 | <BundleName>BundleA</BundleName> | ||
| 6 | <UpgradeCode>{0A6EDDC7-236F-4367-97EF-EFB0F0B478DE}</UpgradeCode> | ||
| 7 | </PropertyGroup> | ||
| 8 | <ItemGroup> | ||
| 9 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
| 10 | </ItemGroup> | ||
| 11 | </Project> | ||
diff --git a/src/test/burn/TestData/FeatureTests/BundleAv1/BundleAv1.wixproj b/src/test/burn/TestData/FeatureTests/BundleAv1/BundleAv1.wixproj new file mode 100644 index 00000000..8a5c9594 --- /dev/null +++ b/src/test/burn/TestData/FeatureTests/BundleAv1/BundleAv1.wixproj | |||
| @@ -0,0 +1,16 @@ | |||
| 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 | <PropertyGroup> | ||
| 5 | <Version>1.0.0.0</Version> | ||
| 6 | </PropertyGroup> | ||
| 7 | <ItemGroup> | ||
| 8 | <ProjectReference Include="..\PackageAv1\PackageAv1.wixproj" /> | ||
| 9 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
| 10 | </ItemGroup> | ||
| 11 | <ItemGroup> | ||
| 12 | <PackageReference Include="WixToolset.Bal.wixext" /> | ||
| 13 | <PackageReference Include="WixToolset.NetFx.wixext" /> | ||
| 14 | <PackageReference Include="WixToolset.Util.wixext" /> | ||
| 15 | </ItemGroup> | ||
| 16 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/FeatureTests/BundleAv1/BundleAv1.wxs b/src/test/burn/TestData/FeatureTests/BundleAv1/BundleAv1.wxs new file mode 100644 index 00000000..0fa01755 --- /dev/null +++ b/src/test/burn/TestData/FeatureTests/BundleAv1/BundleAv1.wxs | |||
| @@ -0,0 +1,9 @@ | |||
| 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"> | ||
| 4 | <Fragment> | ||
| 5 | <PackageGroup Id="BundlePackages"> | ||
| 6 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" EnableFeatureSelection="yes" /> | ||
| 7 | </PackageGroup> | ||
| 8 | </Fragment> | ||
| 9 | </Wix> | ||
