aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/PrereqBaTests/BundleB
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2025-02-11 13:53:50 -0800
committerRob Mensching <rob@firegiant.com>2025-02-11 15:49:33 -0800
commit040e50ec2859c1de70cd8e9f957474321774f293 (patch)
treecebfe14eccdb3884d5eefc443b285917b6b4a38b /src/test/burn/TestData/PrereqBaTests/BundleB
parentccfed95b510f7cd1b205379d0cec50de69c2d850 (diff)
downloadwix-040e50ec2859c1de70cd8e9f957474321774f293.tar.gz
wix-040e50ec2859c1de70cd8e9f957474321774f293.tar.bz2
wix-040e50ec2859c1de70cd8e9f957474321774f293.zip
Rewrite Prereq tests after hardening and bypassing .NET GUI errors
Diffstat (limited to 'src/test/burn/TestData/PrereqBaTests/BundleB')
-rw-r--r--src/test/burn/TestData/PrereqBaTests/BundleB/BundleB.wxs12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/test/burn/TestData/PrereqBaTests/BundleB/BundleB.wxs b/src/test/burn/TestData/PrereqBaTests/BundleB/BundleB.wxs
index 7a84bd5b..f5745d0f 100644
--- a/src/test/burn/TestData/PrereqBaTests/BundleB/BundleB.wxs
+++ b/src/test/burn/TestData/PrereqBaTests/BundleB/BundleB.wxs
@@ -1,12 +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. --> 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 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"> 3<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> 4 <Fragment>
6 <BootstrapperApplication Id="BrokenMba" SourceFile="!(bindpath.net2x86)\TestBA.exe" 5 <BootstrapperApplication Id="BrokenMba" SourceFile="!(bindpath.net2x86)\TestBA.exe">
7 Secondary="yes">
8 <Payload Name="good.config" SourceFile="!(bindpath.net2x86)\TestBA.exe.config" /> 6 <Payload Name="good.config" SourceFile="!(bindpath.net2x86)\TestBA.exe.config" />
9 <Payload Name="TestBA.exe.config" SourceFile="bad.config" />
10 <Payload SourceFile="!(bindpath.net2x86)\mbanative.dll" /> 7 <Payload SourceFile="!(bindpath.net2x86)\mbanative.dll" />
11 <Payload SourceFile="!(bindpath.net2x86)\WixToolset.BootstrapperApplicationApi.dll" /> 8 <Payload SourceFile="!(bindpath.net2x86)\WixToolset.BootstrapperApplicationApi.dll" />
12 <Payload SourceFile="$(var.PrereqBaf.TargetPath)" bal:BAFunctions="yes" /> 9 <Payload SourceFile="$(var.PrereqBaf.TargetPath)" bal:BAFunctions="yes" />
@@ -16,13 +13,12 @@
16 </Fragment> 13 </Fragment>
17 14
18 <Fragment> 15 <Fragment>
19 <util:FileSearch Variable="GoodConfigPresent" Path="[BARuntimeDirectory]\good.config" Result="exists" /> 16 <util:FileSearch Variable="TestBAConfigPresent" Path="[BARuntimeDirectory]\TestBA.exe.config" Result="exists" />
20 <Variable Name="CAUSEINFINITELOOP" bal:Overridable="yes" />
21 17
22 <PackageGroup Id="BundlePackages"> 18 <PackageGroup Id="BundlePackages">
23 <ExePackage SourceFile="$(var.ReplaceConfig.TargetPath)" bal:PrereqPackage="yes" 19 <ExePackage SourceFile="$(var.ReplaceConfig.TargetPath)" bal:PrereqPackage="yes"
24 Permanent="yes" DetectCondition="NOT GoodConfigPresent OR CAUSEINFINITELOOP = 1" 20 Permanent="yes" DetectCondition="TestBAConfigPresent"
25 InstallArguments="&quot;[BARuntimeDirectory]TestBA.exe.config&quot; &quot;[BARuntimeDirectory]good.config&quot; &quot;[BARuntimeDirectory]bad.config&quot;" /> 21 InstallArguments="&quot;[BARuntimeDirectory]TestBA.exe.config&quot; &quot;[BARuntimeDirectory]good.config&quot;" />
26 <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" /> 22 <MsiPackage Id="PackageB" SourceFile="$(var.PackageB.TargetPath)" bal:PrereqPackage="yes" Permanent="yes" />
27 <MsiPackage Id="PackageC" SourceFile="$(var.PackageC.TargetPath)" /> 23 <MsiPackage Id="PackageC" SourceFile="$(var.PackageC.TargetPath)" />
28 </PackageGroup> 24 </PackageGroup>