diff options
Diffstat (limited to 'src/test/burn/TestData/PrereqBaTests/BundleD/BundleD.wxs')
-rw-r--r-- | src/test/burn/TestData/PrereqBaTests/BundleD/BundleD.wxs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/burn/TestData/PrereqBaTests/BundleD/BundleD.wxs b/src/test/burn/TestData/PrereqBaTests/BundleD/BundleD.wxs new file mode 100644 index 00000000..0e866295 --- /dev/null +++ b/src/test/burn/TestData/PrereqBaTests/BundleD/BundleD.wxs | |||
@@ -0,0 +1,29 @@ | |||
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" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
5 | <Fragment> | ||
6 | <BootstrapperApplication Id="BrokenMbaAlwaysPrereq"> | ||
7 | <Payload Name="good.config" SourceFile="!(bindpath.net2x86)\TestBA.BootstrapperCore.config" /> | ||
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 | <Payload SourceFile="$(var.PrereqBaf.TargetPath)" bal:BAFunctions="yes" /> | ||
13 | <bal:WixManagedBootstrapperApplicationHost AlwaysInstallPrereqs="yes" /> | ||
14 | </BootstrapperApplication> | ||
15 | </Fragment> | ||
16 | |||
17 | <Fragment> | ||
18 | <util:FileSearch Variable="GoodConfigPresent" Path="[BARuntimeDirectory]\good.config" Result="exists" /> | ||
19 | <Variable Name="CAUSEINFINITELOOP" bal:Overridable="yes" /> | ||
20 | |||
21 | <PackageGroup Id="BundlePackages"> | ||
22 | <ExePackage SourceFile="$(var.ReplaceConfig.TargetPath)" bal:PrereqPackage="yes" | ||
23 | Permanent="yes" DetectCondition="NOT GoodConfigPresent OR CAUSEINFINITELOOP = 1" | ||
24 | InstallArguments=""[BARuntimeDirectory]WixToolset.Mba.Host.config" "[BARuntimeDirectory]good.config" "[BARuntimeDirectory]bad.config"" /> | ||
25 | <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" /> | ||
26 | <MsiPackage Id="PackageC" SourceFile="$(var.PackageC.TargetPath)" /> | ||
27 | </PackageGroup> | ||
28 | </Fragment> | ||
29 | </Wix> | ||