aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/ForwardCompatibleBundleTests/BundleAv1
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-03-11 17:54:30 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-03-11 21:17:20 -0600
commit81908a5ec1647d76b45f50e4a18c37e1544818be (patch)
tree131b6d1e52f7bdbf701cf7026c4d7b7ea9b356fa /src/TestData/ForwardCompatibleBundleTests/BundleAv1
parent99d7440134d0f33683d1150a770a2bc594be41de (diff)
downloadwix-81908a5ec1647d76b45f50e4a18c37e1544818be.tar.gz
wix-81908a5ec1647d76b45f50e4a18c37e1544818be.tar.bz2
wix-81908a5ec1647d76b45f50e4a18c37e1544818be.zip
Port forward compatible tests from old repo.
Diffstat (limited to 'src/TestData/ForwardCompatibleBundleTests/BundleAv1')
-rw-r--r--src/TestData/ForwardCompatibleBundleTests/BundleAv1/Bundle.wxs40
-rw-r--r--src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleA.props7
-rw-r--r--src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj12
-rw-r--r--src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wxs10
4 files changed, 69 insertions, 0 deletions
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleAv1/Bundle.wxs b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/Bundle.wxs
new file mode 100644
index 00000000..175d9a1f
--- /dev/null
+++ b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/Bundle.wxs
@@ -0,0 +1,40 @@
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<?ifndef Version?>
4<?define Version = 1.0.0.0?>
5<?endif?>
6
7<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
8 <!-- ProviderKey should be the only thing different from the template -->
9 <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" ProviderKey="~$(var.TestGroupName)_BundleA">
10 <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" />
11
12 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
13
14 <?ifdef SoftwareTag?>
15 <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]regid.1995-08.com.example" />
16 <?endif?>
17
18 <?ifndef BA?>
19 <!-- pulled in through the PackageGroupRef below -->
20 <?elseif $(var.BA) = "TestBAdnc"?>
21 <!-- pulled in through the PackageGroupRef below -->
22 <?elseif $(var.BA) = "hyperlinkLicense"?>
23 <BootstrapperApplication>
24 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
25 </BootstrapperApplication>
26 <?else?>
27 <BootstrapperApplicationRef Id="$(var.BA)" />
28 <?endif?>
29
30 <Chain>
31 <?ifndef BA?>
32 <PackageGroupRef Id="TestBA" />
33 <?elseif $(var.BA) = "TestBAdnc"?>
34 <PackageGroupRef Id="TestBAdnc" />
35 <?endif?>
36
37 <PackageGroupRef Id="BundlePackages" />
38 </Chain>
39 </Bundle>
40</Wix>
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleA.props b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleA.props
new file mode 100644
index 00000000..329ea107
--- /dev/null
+++ b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleA.props
@@ -0,0 +1,7 @@
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 <UpgradeCode>{5ACFAE02-DDF0-4F1C-BEAD-1E0998E5CF9B}</UpgradeCode>
6 </PropertyGroup>
7</Project>
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj
new file mode 100644
index 00000000..dea8b4f4
--- /dev/null
+++ b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wixproj
@@ -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 Sdk="WixToolset.Sdk">
3 <Import Project="BundleA.props" />
4 <ItemGroup>
5 <ProjectReference Include="..\PackageAv1\PackageAv1.wixproj" />
6 <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" />
7 </ItemGroup>
8 <ItemGroup>
9 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.89" />
10 <PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.64" />
11 </ItemGroup>
12</Project> \ No newline at end of file
diff --git a/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wxs b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wxs
new file mode 100644
index 00000000..7bf16212
--- /dev/null
+++ b/src/TestData/ForwardCompatibleBundleTests/BundleAv1/BundleAv1.wxs
@@ -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
3
4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
5 <Fragment>
6 <PackageGroup Id="BundlePackages">
7 <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" />
8 </PackageGroup>
9 </Fragment>
10</Wix>