aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/TestData
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-05-06 14:42:01 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-05-11 19:11:19 -0500
commita91c413750b354ba6975be9d427787b13664b750 (patch)
tree230c04174a3f01e15fbed26fc70a4101276c595f /src/test/burn/TestData
parent8c27fbe1bc8a6d83859aead2105d6d528c307726 (diff)
downloadwix-a91c413750b354ba6975be9d427787b13664b750.tar.gz
wix-a91c413750b354ba6975be9d427787b13664b750.tar.bz2
wix-a91c413750b354ba6975be9d427787b13664b750.zip
Add tests for WixBA.
Diffstat (limited to 'src/test/burn/TestData')
-rw-r--r--src/test/burn/TestData/BasicFunctionalityTests/BundleD/BundleD.wixproj20
-rw-r--r--src/test/burn/TestData/BasicFunctionalityTests/BundleD_x64/BundleD_x64.wixproj21
-rw-r--r--src/test/burn/TestData/Templates/Bundle.wxs8
-rw-r--r--src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs17
-rw-r--r--src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj2
-rw-r--r--src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs18
-rw-r--r--src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj2
7 files changed, 88 insertions, 0 deletions
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/BundleD/BundleD.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/BundleD/BundleD.wixproj
new file mode 100644
index 00000000..a2af1aa5
--- /dev/null
+++ b/src/test/burn/TestData/BasicFunctionalityTests/BundleD/BundleD.wixproj
@@ -0,0 +1,20 @@
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 <PropertyGroup>
4 <OutputType>Bundle</OutputType>
5 <BA>WixBA</BA>
6 <UpgradeCode>{2557AA80-E432-48BF-BF01-DD27DD1BD291}</UpgradeCode>
7 </PropertyGroup>
8 <ItemGroup>
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 <Compile Include="..\BundleA\BundleA.wxs" Link="BundleD.wxs" />
11 </ItemGroup>
12 <ItemGroup>
13 <ProjectReference Include="..\PackageA\PackageA.wixproj" />
14 <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" />
15 </ItemGroup>
16 <ItemGroup>
17 <PackageReference Include="WixToolset.Bal.wixext" />
18 <PackageReference Include="WixToolset.NetFx.wixext" />
19 </ItemGroup>
20</Project> \ No newline at end of file
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/BundleD_x64/BundleD_x64.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/BundleD_x64/BundleD_x64.wixproj
new file mode 100644
index 00000000..338d523d
--- /dev/null
+++ b/src/test/burn/TestData/BasicFunctionalityTests/BundleD_x64/BundleD_x64.wixproj
@@ -0,0 +1,21 @@
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 <PropertyGroup>
4 <OutputType>Bundle</OutputType>
5 <BA>WixBAdnc_x64</BA>
6 <UpgradeCode>{62E3DFA4-6849-44F0-93A1-C8F60DBB76E3}</UpgradeCode>
7 <InstallerPlatform>x64</InstallerPlatform>
8 </PropertyGroup>
9 <ItemGroup>
10 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
11 <Compile Include="..\BundleA_x64\BundleA_x64.wxs" Link="BundleD_x64.wxs" />
12 </ItemGroup>
13 <ItemGroup>
14 <ProjectReference Include="..\PackageA_x64\PackageA_x64.wixproj" />
15 <ProjectReference Include="..\..\TestBA\TestBAWixlib_x64\testbawixlib_x64.wixproj" />
16 </ItemGroup>
17 <ItemGroup>
18 <PackageReference Include="WixToolset.Bal.wixext" />
19 <PackageReference Include="WixToolset.NetFx.wixext" />
20 </ItemGroup>
21</Project> \ No newline at end of file
diff --git a/src/test/burn/TestData/Templates/Bundle.wxs b/src/test/burn/TestData/Templates/Bundle.wxs
index 06409504..b211d9c3 100644
--- a/src/test/burn/TestData/Templates/Bundle.wxs
+++ b/src/test/burn/TestData/Templates/Bundle.wxs
@@ -22,6 +22,10 @@
22 <!-- pulled in through the PackageGroupRef below --> 22 <!-- pulled in through the PackageGroupRef below -->
23 <?elseif $(var.BA) = "TestBAdnc_x64"?> 23 <?elseif $(var.BA) = "TestBAdnc_x64"?>
24 <!-- pulled in through the PackageGroupRef below --> 24 <!-- pulled in through the PackageGroupRef below -->
25 <?elseif $(var.BA) = "WixBA"?>
26 <!-- pulled in through the PackageGroupRef below -->
27 <?elseif $(var.BA) = "WixBAdnc_x64"?>
28 <!-- pulled in through the PackageGroupRef below -->
25 <?elseif $(var.BA) = "hyperlinkLicense"?> 29 <?elseif $(var.BA) = "hyperlinkLicense"?>
26 <BootstrapperApplication> 30 <BootstrapperApplication>
27 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" /> 31 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
@@ -39,6 +43,10 @@
39 <PackageGroupRef Id="TestBA_x64" /> 43 <PackageGroupRef Id="TestBA_x64" />
40 <?elseif $(var.BA) = "TestBAdnc_x64"?> 44 <?elseif $(var.BA) = "TestBAdnc_x64"?>
41 <PackageGroupRef Id="TestBAdnc_x64" /> 45 <PackageGroupRef Id="TestBAdnc_x64" />
46 <?elseif $(var.BA) = "WixBA"?>
47 <PackageGroupRef Id="WixBA" />
48 <?elseif $(var.BA) = "WixBAdnc_x64"?>
49 <PackageGroupRef Id="WixBAdnc_x64" />
42 <?endif?> 50 <?endif?>
43 51
44 <PackageGroupRef Id="BundlePackages" /> 52 <PackageGroupRef Id="BundlePackages" />
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs b/src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs
new file mode 100644
index 00000000..c6da2a17
--- /dev/null
+++ b/src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs
@@ -0,0 +1,17 @@
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<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
3 <Fragment>
4 <BootstrapperApplication>
5 <Payload Name="WixToolset.Mba.Host.config" SourceFile="!(bindpath.net4x86)\WixBA.BootstrapperCore.config" />
6 <Payload SourceFile="!(bindpath.net4x86)\WixToolset.WixBA.dll" />
7 <Payload SourceFile="!(bindpath.net4x86)\mbanative.dll" />
8 <Payload SourceFile="!(bindpath.net4x86)\WixToolset.Mba.Core.dll" />
9 <Payload SourceFile='..\..\..\..\..\..\License.txt' />
10 <bal:WixManagedBootstrapperApplicationHost />
11 </BootstrapperApplication>
12
13 <PackageGroup Id="WixBA">
14 <PackageGroupRef Id="NetFx48WebAsPrereq" />
15 </PackageGroup>
16 </Fragment>
17</Wix>
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj
index d2ab7907..fa153974 100644
--- a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj
+++ b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj
@@ -7,11 +7,13 @@
7 </PropertyGroup> 7 </PropertyGroup>
8 <ItemGroup> 8 <ItemGroup>
9 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> 9 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" />
10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net45\win-x86" BindName="net4x86" />
10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> 11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" />
11 </ItemGroup> 12 </ItemGroup>
12 <ItemGroup> 13 <ItemGroup>
13 <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" /> 14 <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" />
14 <ProjectReference Include="..\..\..\TestExe\TestExe.csproj" /> 15 <ProjectReference Include="..\..\..\TestExe\TestExe.csproj" />
16 <ProjectReference Include="..\..\..\WixToolset.WixBA\WixToolset.WixBA.csproj" />
15 </ItemGroup> 17 </ItemGroup>
16 <ItemGroup> 18 <ItemGroup>
17 <PackageReference Include="WixToolset.Bal.wixext" /> 19 <PackageReference Include="WixToolset.Bal.wixext" />
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs
new file mode 100644
index 00000000..f28b6b70
--- /dev/null
+++ b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs
@@ -0,0 +1,18 @@
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<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
3 <Fragment>
4 <BootstrapperApplication>
5 <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.WixBA.deps.json" />
6 <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.WixBA.dll" bal:BAFactoryAssembly="yes" />
7 <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.WixBA.runtimeconfig.json" />
8 <Payload SourceFile="!(bindpath.dnc5x64)\mbanative.dll" />
9 <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.Mba.Core.dll" />
10 <Payload SourceFile='..\..\..\..\..\..\License.txt' />
11 <bal:WixDotNetCoreBootstrapperApplicationHost />
12 </BootstrapperApplication>
13
14 <PackageGroup Id="WixBAdnc_x64">
15 <PackageGroupRef Id="NetFx48WebAsPrereq" /> <!-- Yes, this is wrong but we don't have .NET 5 packages yet -->
16 </PackageGroup>
17 </Fragment>
18</Wix>
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj
index 7f3c5890..9055382f 100644
--- a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj
+++ b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj
@@ -8,11 +8,13 @@
8 </PropertyGroup> 8 </PropertyGroup>
9 <ItemGroup> 9 <ItemGroup>
10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" /> 10 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" />
11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net45\win-x64" BindName="net4x64" />
11 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" />
12 </ItemGroup> 13 </ItemGroup>
13 <ItemGroup> 14 <ItemGroup>
14 <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" /> 15 <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" />
15 <ProjectReference Include="..\..\..\TestExe\TestExe_x64.csproj" /> 16 <ProjectReference Include="..\..\..\TestExe\TestExe_x64.csproj" />
17 <ProjectReference Include="..\..\..\WixToolset.WixBA\WixToolset.WixBA_x64.csproj" />
16 </ItemGroup> 18 </ItemGroup>
17 <ItemGroup> 19 <ItemGroup>
18 <PackageReference Include="WixToolset.Bal.wixext" /> 20 <PackageReference Include="WixToolset.Bal.wixext" />