aboutsummaryrefslogtreecommitdiff
path: root/src/TestData/PrereqBaTests
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-01 23:12:28 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-03 16:20:19 -0600
commit02d4ef4774fa43cc9524fac93c888981e5d47478 (patch)
tree8ccfd50765ea96a3d323597124ccbb4684c94b85 /src/TestData/PrereqBaTests
parent47724ab546a84e77b4699bc28aa4e4ad7901253f (diff)
downloadwix-02d4ef4774fa43cc9524fac93c888981e5d47478.tar.gz
wix-02d4ef4774fa43cc9524fac93c888981e5d47478.tar.bz2
wix-02d4ef4774fa43cc9524fac93c888981e5d47478.zip
Create template for bundle.
Diffstat (limited to 'src/TestData/PrereqBaTests')
-rw-r--r--src/TestData/PrereqBaTests/BundleA/BundleA.wixproj5
-rw-r--r--src/TestData/PrereqBaTests/BundleA/BundleA.wxi17
-rw-r--r--src/TestData/PrereqBaTests/BundleA/BundleA.wxs5
-rw-r--r--src/TestData/PrereqBaTests/BundleB/BundleB.wixproj5
-rw-r--r--src/TestData/PrereqBaTests/BundleB/BundleB.wxi17
-rw-r--r--src/TestData/PrereqBaTests/BundleB/BundleB.wxs5
6 files changed, 16 insertions, 38 deletions
diff --git a/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj b/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj
index 56f4b11e..b608bb8c 100644
--- a/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj
+++ b/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj
@@ -2,8 +2,13 @@
2<Project Sdk="WixToolset.Sdk"> 2<Project Sdk="WixToolset.Sdk">
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>Bundle</OutputType> 4 <OutputType>Bundle</OutputType>
5 <BA>BrokenDnc</BA>
6 <UpgradeCode>{A4456636-916A-43A0-87BF-A897C2717A00}</UpgradeCode>
5 </PropertyGroup> 7 </PropertyGroup>
6 <ItemGroup> 8 <ItemGroup>
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 </ItemGroup>
11 <ItemGroup>
7 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" />
8 </ItemGroup> 13 </ItemGroup>
9 <ItemGroup> 14 <ItemGroup>
diff --git a/src/TestData/PrereqBaTests/BundleA/BundleA.wxi b/src/TestData/PrereqBaTests/BundleA/BundleA.wxi
deleted file mode 100644
index 23623ffb..00000000
--- a/src/TestData/PrereqBaTests/BundleA/BundleA.wxi
+++ /dev/null
@@ -1,17 +0,0 @@
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 A" Version="$(var.Version)" UpgradeCode="{A4456636-916A-43A0-87BF-A897C2717A00}" Compressed="yes">
9 <Log Prefix="~$(var.TestGroupName)_BundleA" />
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/BundleA/BundleA.wxs b/src/TestData/PrereqBaTests/BundleA/BundleA.wxs
index 53139834..0c9e8d21 100644
--- a/src/TestData/PrereqBaTests/BundleA/BundleA.wxs
+++ b/src/TestData/PrereqBaTests/BundleA/BundleA.wxs
@@ -2,9 +2,8 @@
2 2
3 3
4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> 4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
5 <?include BundleA.wxi ?>
6 <Fragment> 5 <Fragment>
7 <BootstrapperApplication> 6 <BootstrapperApplication Id="BrokenDnc">
8 <Payload SourceFile="!(bindpath.dnc5x86)\TestBA.deps.json" /> 7 <Payload SourceFile="!(bindpath.dnc5x86)\TestBA.deps.json" />
9 <Payload SourceFile="!(bindpath.dnc5x86)\TestBA.dll" bal:BAFactoryAssembly="yes" /> 8 <Payload SourceFile="!(bindpath.dnc5x86)\TestBA.dll" bal:BAFactoryAssembly="yes" />
10 <Payload Name="TestBA.runtimeconfig.json" SourceFile="bad.runtimeconfig.json" /> 9 <Payload Name="TestBA.runtimeconfig.json" SourceFile="bad.runtimeconfig.json" />
@@ -12,7 +11,9 @@
12 <Payload SourceFile="!(bindpath.dnc5x86)\WixToolset.Mba.Core.dll" /> 11 <Payload SourceFile="!(bindpath.dnc5x86)\WixToolset.Mba.Core.dll" />
13 <bal:WixDotNetCoreBootstrapperApplicationHost /> 12 <bal:WixDotNetCoreBootstrapperApplicationHost />
14 </BootstrapperApplication> 13 </BootstrapperApplication>
14 </Fragment>
15 15
16 <Fragment>
16 <PackageGroup Id="BundlePackages"> 17 <PackageGroup Id="BundlePackages">
17 <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" /> 18 <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" />
18 <MsiPackage Id="PackageF" SourceFile="$(var.PackageF.TargetPath)" /> 19 <MsiPackage Id="PackageF" SourceFile="$(var.PackageF.TargetPath)" />
diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj
index 420c2a0c..bad720f9 100644
--- a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj
+++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj
@@ -2,8 +2,13 @@
2<Project Sdk="WixToolset.Sdk"> 2<Project Sdk="WixToolset.Sdk">
3 <PropertyGroup> 3 <PropertyGroup>
4 <OutputType>Bundle</OutputType> 4 <OutputType>Bundle</OutputType>
5 <BA>BrokenMba</BA>
6 <UpgradeCode>{157A1FBA-3825-4AAA-B13D-F45435A79D64}</UpgradeCode>
5 </PropertyGroup> 7 </PropertyGroup>
6 <ItemGroup> 8 <ItemGroup>
9 <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" />
10 </ItemGroup>
11 <ItemGroup>
7 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> 12 <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" />
8 </ItemGroup> 13 </ItemGroup>
9 <ItemGroup> 14 <ItemGroup>
diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wxi b/src/TestData/PrereqBaTests/BundleB/BundleB.wxi
deleted file mode 100644
index 6bfeb213..00000000
--- a/src/TestData/PrereqBaTests/BundleB/BundleB.wxi
+++ /dev/null
@@ -1,17 +0,0 @@
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
index 57d8a552..603c3aee 100644
--- a/src/TestData/PrereqBaTests/BundleB/BundleB.wxs
+++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wxs
@@ -2,16 +2,17 @@
2 2
3 3
4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> 4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
5 <?include BundleB.wxi ?>
6 <Fragment> 5 <Fragment>
7 <BootstrapperApplication> 6 <BootstrapperApplication Id="BrokenMba">
8 <Payload Name="WixToolset.Mba.Host.config" SourceFile="bad.config" /> 7 <Payload Name="WixToolset.Mba.Host.config" SourceFile="bad.config" />
9 <Payload SourceFile="!(bindpath.net2x86)\TestBA.dll" /> 8 <Payload SourceFile="!(bindpath.net2x86)\TestBA.dll" />
10 <Payload SourceFile="!(bindpath.net2x86)\mbanative.dll" /> 9 <Payload SourceFile="!(bindpath.net2x86)\mbanative.dll" />
11 <Payload SourceFile="!(bindpath.net2x86)\WixToolset.Mba.Core.dll" /> 10 <Payload SourceFile="!(bindpath.net2x86)\WixToolset.Mba.Core.dll" />
12 <bal:WixManagedBootstrapperApplicationHost /> 11 <bal:WixManagedBootstrapperApplicationHost />
13 </BootstrapperApplication> 12 </BootstrapperApplication>
13 </Fragment>
14 14
15 <Fragment>
15 <PackageGroup Id="BundlePackages"> 16 <PackageGroup Id="BundlePackages">
16 <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" /> 17 <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" />
17 <MsiPackage Id="PackageF" SourceFile="$(var.PackageF.TargetPath)" /> 18 <MsiPackage Id="PackageF" SourceFile="$(var.PackageF.TargetPath)" />