diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-05-01 20:44:43 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-05-04 11:33:47 -0500 |
| commit | 70f6c04122db39b5d234715c373d690f97892f8b (patch) | |
| tree | b5db48faa12017b9c807fb616aba8926fb7e7d9b /src/TestData/TestBA | |
| parent | 0ef54303db8ce523908af744ffc318128405bebd (diff) | |
| download | wix-70f6c04122db39b5d234715c373d690f97892f8b.tar.gz wix-70f6c04122db39b5d234715c373d690f97892f8b.tar.bz2 wix-70f6c04122db39b5d234715c373d690f97892f8b.zip | |
Add x64 Bundle tests.
Diffstat (limited to 'src/TestData/TestBA')
3 files changed, 59 insertions, 0 deletions
diff --git a/src/TestData/TestBA/TestBAWixlib_x64/TestBA_x64.wxs b/src/TestData/TestBA/TestBAWixlib_x64/TestBA_x64.wxs new file mode 100644 index 00000000..078f4f01 --- /dev/null +++ b/src/TestData/TestBA/TestBAWixlib_x64/TestBA_x64.wxs | |||
| @@ -0,0 +1,30 @@ | |||
| 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)\TestBA.deps.json" /> | ||
| 6 | <Payload SourceFile="!(bindpath.dnc5x64)\TestBA.dll" bal:BAFactoryAssembly="yes" /> | ||
| 7 | <Payload SourceFile="!(bindpath.dnc5x64)\TestBA.runtimeconfig.json" /> | ||
| 8 | <Payload SourceFile="!(bindpath.dnc5x64)\mbanative.dll" /> | ||
| 9 | <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.Mba.Core.dll" /> | ||
| 10 | <bal:WixDotNetCoreBootstrapperApplicationHost /> | ||
| 11 | </BootstrapperApplication> | ||
| 12 | |||
| 13 | <PackageGroup Id="TestBAdnc_x64"> | ||
| 14 | <PackageGroupRef Id="NetFx48WebAsPrereq" /> <!-- Yes, this is wrong but we don't have .NET 5 packages yet --> | ||
| 15 | </PackageGroup> | ||
| 16 | </Fragment> | ||
| 17 | <Fragment> | ||
| 18 | <BootstrapperApplication> | ||
| 19 | <Payload Name="WixToolset.Mba.Host.config" SourceFile="!(bindpath.net2x64)\TestBA.BootstrapperCore.config" /> | ||
| 20 | <Payload SourceFile="!(bindpath.net2x64)\TestBA.dll" /> | ||
| 21 | <Payload SourceFile="!(bindpath.net2x64)\mbanative.dll" /> | ||
| 22 | <Payload SourceFile="!(bindpath.net2x64)\WixToolset.Mba.Core.dll" /> | ||
| 23 | <bal:WixManagedBootstrapperApplicationHost /> | ||
| 24 | </BootstrapperApplication> | ||
| 25 | |||
| 26 | <PackageGroup Id="TestBA_x64"> | ||
| 27 | <PackageGroupRef Id="NetFx48WebAsPrereq" /> | ||
| 28 | </PackageGroup> | ||
| 29 | </Fragment> | ||
| 30 | </Wix> | ||
diff --git a/src/TestData/TestBA/TestBAWixlib_x64/TestExe_x64.wxs b/src/TestData/TestBA/TestBAWixlib_x64/TestExe_x64.wxs new file mode 100644 index 00000000..02bed038 --- /dev/null +++ b/src/TestData/TestBA/TestBAWixlib_x64/TestExe_x64.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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PayloadGroup Id="TestExePayloads_x64"> | ||
| 5 | <ExePackagePayload SourceFile="!(bindpath.net2x64)\TestExe.exe" /> | ||
| 6 | <Payload SourceFile="!(bindpath.net2x64)\TestExe.exe.config" /> | ||
| 7 | </PayloadGroup> | ||
| 8 | </Fragment> | ||
| 9 | </Wix> | ||
diff --git a/src/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj b/src/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj new file mode 100644 index 00000000..9b7d3c17 --- /dev/null +++ b/src/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.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>Library</OutputType> | ||
| 5 | <BindFiles>true</BindFiles> | ||
| 6 | <Cultures>en-us</Cultures> | ||
| 7 | <InstallerPlatform>x64</InstallerPlatform> | ||
| 8 | </PropertyGroup> | ||
| 9 | <ItemGroup> | ||
| 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" /> | ||
| 11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" /> | ||
| 12 | </ItemGroup> | ||
| 13 | <ItemGroup> | ||
| 14 | <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" /> | ||
| 15 | <ProjectReference Include="..\..\..\TestExe\TestExe_x64.csproj" /> | ||
| 16 | </ItemGroup> | ||
| 17 | <ItemGroup> | ||
| 18 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.101" /> | ||
| 19 | </ItemGroup> | ||
| 20 | </Project> \ No newline at end of file | ||
