diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-01 21:35:51 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 16:20:18 -0600 |
| commit | 47724ab546a84e77b4699bc28aa4e4ad7901253f (patch) | |
| tree | e70f7ba0181f3a6d29fe7417b19bd1c830e77527 /src/TestData/PrereqBaTests/BundleB | |
| parent | 73dc2706d9f151554356aaf3e69bfad5b46a21e9 (diff) | |
| download | wix-47724ab546a84e77b4699bc28aa4e4ad7901253f.tar.gz wix-47724ab546a84e77b4699bc28aa4e4ad7901253f.tar.bz2 wix-47724ab546a84e77b4699bc28aa4e4ad7901253f.zip | |
Try to make it easier to add new kinds of tests.
Diffstat (limited to 'src/TestData/PrereqBaTests/BundleB')
| -rw-r--r-- | src/TestData/PrereqBaTests/BundleB/BundleB.wixproj | 16 | ||||
| -rw-r--r-- | src/TestData/PrereqBaTests/BundleB/BundleB.wxi | 17 | ||||
| -rw-r--r-- | src/TestData/PrereqBaTests/BundleB/BundleB.wxs | 20 | ||||
| -rw-r--r-- | src/TestData/PrereqBaTests/BundleB/bad.config | 17 |
4 files changed, 70 insertions, 0 deletions
diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj new file mode 100644 index 00000000..420c2a0c --- /dev/null +++ b/src/TestData/PrereqBaTests/BundleB/BundleB.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 | <PropertyGroup> | ||
| 4 | <OutputType>Bundle</OutputType> | ||
| 5 | </PropertyGroup> | ||
| 6 | <ItemGroup> | ||
| 7 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> | ||
| 8 | </ItemGroup> | ||
| 9 | <ItemGroup> | ||
| 10 | <ProjectReference Include="..\PackageB\PackageB.wixproj" /> | ||
| 11 | <ProjectReference Include="..\PackageF\PackageF.wixproj" /> | ||
| 12 | </ItemGroup> | ||
| 13 | <ItemGroup> | ||
| 14 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" /> | ||
| 15 | </ItemGroup> | ||
| 16 | </Project> \ No newline at end of file | ||
diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wxi b/src/TestData/PrereqBaTests/BundleB/BundleB.wxi new file mode 100644 index 00000000..6bfeb213 --- /dev/null +++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wxi | |||
| @@ -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 | |||
| 3 | <?ifndef Version?> | ||
| 4 | <?define Version = 1.0.0.0?> | ||
| 5 | <?endif?> | ||
| 6 | |||
| 7 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 8 | <Bundle Name="~$(var.TestGroupName) - Bundle B" Version="$(var.Version)" UpgradeCode="{157A1FBA-3825-4AAA-B13D-F45435A79D64}" Compressed="yes"> | ||
| 9 | <Log Prefix="~$(var.TestGroupName)_BundleB" /> | ||
| 10 | |||
| 11 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> | ||
| 12 | |||
| 13 | <Chain> | ||
| 14 | <PackageGroupRef Id="BundlePackages" /> | ||
| 15 | </Chain> | ||
| 16 | </Bundle> | ||
| 17 | </Include> | ||
diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wxs b/src/TestData/PrereqBaTests/BundleB/BundleB.wxs new file mode 100644 index 00000000..57d8a552 --- /dev/null +++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wxs | |||
| @@ -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 | |||
| 3 | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
| 5 | <?include BundleB.wxi ?> | ||
| 6 | <Fragment> | ||
| 7 | <BootstrapperApplication> | ||
| 8 | <Payload Name="WixToolset.Mba.Host.config" SourceFile="bad.config" /> | ||
| 9 | <Payload SourceFile="!(bindpath.net2x86)\TestBA.dll" /> | ||
| 10 | <Payload SourceFile="!(bindpath.net2x86)\mbanative.dll" /> | ||
| 11 | <Payload SourceFile="!(bindpath.net2x86)\WixToolset.Mba.Core.dll" /> | ||
| 12 | <bal:WixManagedBootstrapperApplicationHost /> | ||
| 13 | </BootstrapperApplication> | ||
| 14 | |||
| 15 | <PackageGroup Id="BundlePackages"> | ||
| 16 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" /> | ||
| 17 | <MsiPackage Id="PackageF" SourceFile="$(var.PackageF.TargetPath)" /> | ||
| 18 | </PackageGroup> | ||
| 19 | </Fragment> | ||
| 20 | </Wix> | ||
diff --git a/src/TestData/PrereqBaTests/BundleB/bad.config b/src/TestData/PrereqBaTests/BundleB/bad.config new file mode 100644 index 00000000..1512e59a --- /dev/null +++ b/src/TestData/PrereqBaTests/BundleB/bad.config | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8" ?> | ||
| 2 | <!-- 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. --> | ||
| 3 | |||
| 4 | |||
| 5 | <configuration> | ||
| 6 | <configSections> | ||
| 7 | <sectionGroup name="wix.bootstrapper" type="WixToolset.Mba.Host.BootstrapperSectionGroup, WixToolset.Mba.Host"> | ||
| 8 | <section name="host" type="WixToolset.Mba.Host.HostSection, WixToolset.Mba.Host" /> | ||
| 9 | </sectionGroup> | ||
| 10 | </configSections> | ||
| 11 | <startup> | ||
| 12 | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v5.8" /> | ||
| 13 | </startup> | ||
| 14 | <wix.bootstrapper> | ||
| 15 | <host assemblyName="TestBA" /> | ||
| 16 | </wix.bootstrapper> | ||
| 17 | </configuration> | ||
