diff options
Diffstat (limited to 'src/ext/Bal/test/WixToolsetTest.BootstrapperApplications')
9 files changed, 75 insertions, 9 deletions
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs index 07d3dacb..e599b8e2 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs | |||
| @@ -24,7 +24,8 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 24 | { | 24 | { |
| 25 | var baseFolder = fs.GetFolder(); | 25 | var baseFolder = fs.GetFolder(); |
| 26 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); | 26 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); |
| 27 | var bundleSourceFolder = TestData.Get(@"TestData\WixStdBa"); | 27 | var bundleSourceFolder = TestData.Get(@"TestData", "WixStdBa"); |
| 28 | var dataFolder = TestData.Get(@"TestData", ".Data"); | ||
| 28 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | 29 | var intermediateFolder = Path.Combine(baseFolder, "obj"); |
| 29 | var baFolderPath = Path.Combine(baseFolder, "ba"); | 30 | var baFolderPath = Path.Combine(baseFolder, "ba"); |
| 30 | var extractFolderPath = Path.Combine(baseFolder, "extract"); | 31 | var extractFolderPath = Path.Combine(baseFolder, "extract"); |
| @@ -36,6 +37,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 36 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), | 37 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), |
| 37 | "-intermediateFolder", intermediateFolder, | 38 | "-intermediateFolder", intermediateFolder, |
| 38 | "-bindpath", Path.Combine(bundleSourceFolder, "data"), | 39 | "-bindpath", Path.Combine(bundleSourceFolder, "data"), |
| 40 | "-bindpath", dataFolder, | ||
| 39 | "-o", bundleFile, | 41 | "-o", bundleFile, |
| 40 | }); | 42 | }); |
| 41 | compileResult.AssertSuccess(); | 43 | compileResult.AssertSuccess(); |
| @@ -56,6 +58,46 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 56 | } | 58 | } |
| 57 | 59 | ||
| 58 | [TestMethod] | 60 | [TestMethod] |
| 61 | public void CanBuildUsingDisplayFilesInUseDialogCondition() | ||
| 62 | { | ||
| 63 | using (var fs = new DisposableFileSystem()) | ||
| 64 | { | ||
| 65 | var baseFolder = fs.GetFolder(); | ||
| 66 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); | ||
| 67 | var bundleSourceFolder = TestData.Get(@"TestData", "WixStdBa"); | ||
| 68 | var dataFolder = TestData.Get(@"TestData", ".Data"); | ||
| 69 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 70 | var baFolderPath = Path.Combine(baseFolder, "ba"); | ||
| 71 | var extractFolderPath = Path.Combine(baseFolder, "extract"); | ||
| 72 | |||
| 73 | var compileResult = WixRunner.Execute(new[] | ||
| 74 | { | ||
| 75 | "build", | ||
| 76 | Path.Combine(bundleSourceFolder, "DisplayFilesInUseDialogConditionBundle.wxs"), | ||
| 77 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), | ||
| 78 | "-intermediateFolder", intermediateFolder, | ||
| 79 | "-bindpath", Path.Combine(bundleSourceFolder, "data"), | ||
| 80 | "-bindpath", dataFolder, | ||
| 81 | "-o", bundleFile, | ||
| 82 | }); | ||
| 83 | compileResult.AssertSuccess(); | ||
| 84 | |||
| 85 | Assert.IsTrue(File.Exists(bundleFile)); | ||
| 86 | |||
| 87 | var extractResult = BundleExtractor.ExtractBAContainer(null, bundleFile, baFolderPath, extractFolderPath); | ||
| 88 | extractResult.AssertSuccess(); | ||
| 89 | |||
| 90 | var balPackageInfos = extractResult.GetBADataTestXmlLines("/ba:BootstrapperApplicationData/ba:WixBalPackageInfo"); | ||
| 91 | WixAssert.CompareLineByLine(new string[] | ||
| 92 | { | ||
| 93 | "<WixBalPackageInfo PackageId='test.msi' DisplayFilesInUseDialogCondition='1' />", | ||
| 94 | }, balPackageInfos); | ||
| 95 | |||
| 96 | Assert.IsTrue(File.Exists(Path.Combine(baFolderPath, "thm.wxl"))); | ||
| 97 | } | ||
| 98 | } | ||
| 99 | |||
| 100 | [TestMethod] | ||
| 59 | public void CanBuildUsingBootstrapperApplicationId() | 101 | public void CanBuildUsingBootstrapperApplicationId() |
| 60 | { | 102 | { |
| 61 | using (var fs = new DisposableFileSystem()) | 103 | using (var fs = new DisposableFileSystem()) |
| @@ -63,6 +105,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 63 | var baseFolder = fs.GetFolder(); | 105 | var baseFolder = fs.GetFolder(); |
| 64 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); | 106 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); |
| 65 | var bundleSourceFolder = TestData.Get("TestData", "WixStdBa"); | 107 | var bundleSourceFolder = TestData.Get("TestData", "WixStdBa"); |
| 108 | var dataFolder = TestData.Get(@"TestData", ".Data"); | ||
| 66 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | 109 | var intermediateFolder = Path.Combine(baseFolder, "obj"); |
| 67 | var baFolderPath = Path.Combine(baseFolder, "ba"); | 110 | var baFolderPath = Path.Combine(baseFolder, "ba"); |
| 68 | var extractFolderPath = Path.Combine(baseFolder, "extract"); | 111 | var extractFolderPath = Path.Combine(baseFolder, "extract"); |
| @@ -74,6 +117,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 74 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), | 117 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), |
| 75 | "-intermediateFolder", intermediateFolder, | 118 | "-intermediateFolder", intermediateFolder, |
| 76 | "-bindpath", Path.Combine(bundleSourceFolder, "data"), | 119 | "-bindpath", Path.Combine(bundleSourceFolder, "data"), |
| 120 | "-bindpath", dataFolder, | ||
| 77 | "-o", bundleFile, | 121 | "-o", bundleFile, |
| 78 | }); | 122 | }); |
| 79 | compileResult.AssertSuccess(); | 123 | compileResult.AssertSuccess(); |
| @@ -103,7 +147,8 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 103 | { | 147 | { |
| 104 | var baseFolder = fs.GetFolder(); | 148 | var baseFolder = fs.GetFolder(); |
| 105 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); | 149 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); |
| 106 | var bundleSourceFolder = TestData.Get(@"TestData\Overridable"); | 150 | var bundleSourceFolder = TestData.Get(@"TestData", "Overridable"); |
| 151 | var dataFolder = TestData.Get(@"TestData", ".Data"); | ||
| 107 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | 152 | var intermediateFolder = Path.Combine(baseFolder, "obj"); |
| 108 | var baFolderPath = Path.Combine(baseFolder, "ba"); | 153 | var baFolderPath = Path.Combine(baseFolder, "ba"); |
| 109 | var extractFolderPath = Path.Combine(baseFolder, "extract"); | 154 | var extractFolderPath = Path.Combine(baseFolder, "extract"); |
| @@ -114,6 +159,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 114 | Path.Combine(bundleSourceFolder, "Bundle.wxs"), | 159 | Path.Combine(bundleSourceFolder, "Bundle.wxs"), |
| 115 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), | 160 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), |
| 116 | "-intermediateFolder", intermediateFolder, | 161 | "-intermediateFolder", intermediateFolder, |
| 162 | "-bindpath", dataFolder, | ||
| 117 | "-o", bundleFile, | 163 | "-o", bundleFile, |
| 118 | }); | 164 | }); |
| 119 | compileResult.AssertSuccess(); | 165 | compileResult.AssertSuccess(); |
| @@ -144,7 +190,8 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 144 | { | 190 | { |
| 145 | var baseFolder = fs.GetFolder(); | 191 | var baseFolder = fs.GetFolder(); |
| 146 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); | 192 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); |
| 147 | var bundleSourceFolder = TestData.Get(@"TestData\WixStdBa"); | 193 | var bundleSourceFolder = TestData.Get(@"TestData", "WixStdBa"); |
| 194 | var dataFolder = TestData.Get(@"TestData", ".Data"); | ||
| 148 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | 195 | var intermediateFolder = Path.Combine(baseFolder, "obj"); |
| 149 | 196 | ||
| 150 | var compileResult = WixRunner.Execute(new[] | 197 | var compileResult = WixRunner.Execute(new[] |
| @@ -153,6 +200,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 153 | Path.Combine(bundleSourceFolder, "Bundle.wxs"), | 200 | Path.Combine(bundleSourceFolder, "Bundle.wxs"), |
| 154 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), | 201 | "-ext", TestData.Get(@"WixToolset.BootstrapperApplications.wixext.dll"), |
| 155 | "-intermediateFolder", intermediateFolder, | 202 | "-intermediateFolder", intermediateFolder, |
| 203 | "-bindpath", dataFolder, | ||
| 156 | "-o", bundleFile, | 204 | "-o", bundleFile, |
| 157 | }); | 205 | }); |
| 158 | compileResult.AssertSuccess(); | 206 | compileResult.AssertSuccess(); |
| @@ -298,6 +346,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 298 | { | 346 | { |
| 299 | "bal:Condition/@Condition contains the built-in Variable 'WixBundleAction', which is not available when it is evaluated. (Unavailable Variables are: 'WixBundleAction'.). Rewrite the condition to avoid Variables that are never valid during its evaluation.", | 347 | "bal:Condition/@Condition contains the built-in Variable 'WixBundleAction', which is not available when it is evaluated. (Unavailable Variables are: 'WixBundleAction'.). Rewrite the condition to avoid Variables that are never valid during its evaluation.", |
| 300 | "Overridable variable 'TEST1' collides with 'Test1' with Bundle/@CommandLineVariables value 'caseInsensitive'.", | 348 | "Overridable variable 'TEST1' collides with 'Test1' with Bundle/@CommandLineVariables value 'caseInsensitive'.", |
| 349 | "The *Package/@bal:DisplayFilesInUseDialogCondition attribute's value '=' is not a valid bundle condition.", | ||
| 301 | "The *Package/@bal:DisplayInternalUICondition attribute's value '=' is not a valid bundle condition.", | 350 | "The *Package/@bal:DisplayInternalUICondition attribute's value '=' is not a valid bundle condition.", |
| 302 | "The location of the Variable related to the previous error.", | 351 | "The location of the Variable related to the previous error.", |
| 303 | }, messages.ToArray()); | 352 | }, messages.ToArray()); |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/InternalUIBAFixture.cs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/InternalUIBAFixture.cs index 72e31540..7b4d00fc 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/InternalUIBAFixture.cs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/InternalUIBAFixture.cs | |||
| @@ -168,6 +168,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 168 | "WixInternalUIBootstrapperApplication does not support the value of 'force' for Cache on prereq packages. Prereq packages are only cached when they need to be installed.", | 168 | "WixInternalUIBootstrapperApplication does not support the value of 'force' for Cache on prereq packages. Prereq packages are only cached when they need to be installed.", |
| 169 | "WixInternalUIBootstrapperApplication ignores InstallCondition for the primary package so that the MSI UI is always shown.", | 169 | "WixInternalUIBootstrapperApplication ignores InstallCondition for the primary package so that the MSI UI is always shown.", |
| 170 | "WixInternalUIBootstrapperApplication ignores DisplayInternalUICondition for the primary package so that the MSI UI is always shown.", | 170 | "WixInternalUIBootstrapperApplication ignores DisplayInternalUICondition for the primary package so that the MSI UI is always shown.", |
| 171 | "WixInternalUIBootstrapperApplication ignores DisplayFilesInUseDialogCondition for the primary package so that the MSI UI is always shown.", | ||
| 171 | "When using WixInternalUIBootstrapperApplication, all prereq packages should be before the primary package in the chain. The prereq packages are always installed before the primary package.", | 172 | "When using WixInternalUIBootstrapperApplication, all prereq packages should be before the primary package in the chain. The prereq packages are always installed before the primary package.", |
| 172 | }, compileResult.Messages.Select(m => m.ToString()).ToArray()); | 173 | }, compileResult.Messages.Select(m => m.ToString()).ToArray()); |
| 173 | 174 | ||
| @@ -181,7 +182,7 @@ namespace WixToolsetTest.BootstrapperApplications | |||
| 181 | var balPackageInfos = extractResult.GetBADataTestXmlLines("/ba:BootstrapperApplicationData/ba:WixBalPackageInfo"); | 182 | var balPackageInfos = extractResult.GetBADataTestXmlLines("/ba:BootstrapperApplicationData/ba:WixBalPackageInfo"); |
| 182 | WixAssert.CompareLineByLine(new string[] | 183 | WixAssert.CompareLineByLine(new string[] |
| 183 | { | 184 | { |
| 184 | "<WixBalPackageInfo PackageId='test.msi' DisplayInternalUICondition='DISPLAYTEST' PrimaryPackageType='default' />", | 185 | "<WixBalPackageInfo PackageId='test.msi' DisplayInternalUICondition='DISPLAYTEST' DisplayFilesInUseDialogCondition='DISPLAYTEST' PrimaryPackageType='default' />", |
| 185 | }, balPackageInfos); | 186 | }, balPackageInfos); |
| 186 | 187 | ||
| 187 | var mbaPrereqInfos = extractResult.GetBADataTestXmlLines("/ba:BootstrapperApplicationData/ba:WixPrereqInformation"); | 188 | var mbaPrereqInfos = extractResult.GetBADataTestXmlLines("/ba:BootstrapperApplicationData/ba:WixPrereqInformation"); |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/.Data/test.ico b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/.Data/test.ico new file mode 100644 index 00000000..906ce324 --- /dev/null +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/.Data/test.ico | |||
| Binary files differ | |||
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/Overridable/WrongCaseBundle.wxs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/Overridable/WrongCaseBundle.wxs index 67dfc589..33b2d64c 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/Overridable/WrongCaseBundle.wxs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/Overridable/WrongCaseBundle.wxs | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | <Variable Name="TEST1" bal:Overridable="yes" /> | 9 | <Variable Name="TEST1" bal:Overridable="yes" /> |
| 10 | <Chain> | 10 | <Chain> |
| 11 | <ExePackage Permanent="yes" DetectCondition="none" SourceFile="runtimes\win-x86\native\wixnative.exe" /> | 11 | <ExePackage Permanent="yes" DetectCondition="none" SourceFile="runtimes\win-x86\native\wixnative.exe" /> |
| 12 | <MsiPackage SourceFile="test.msi" bal:DisplayInternalUICondition="!(loc.NonsensePlanCondition)" /> | 12 | <MsiPackage SourceFile="test.msi" bal:DisplayInternalUICondition="!(loc.NonsensePlanCondition)" bal:DisplayFilesInUseDialogCondition="!(loc.NonsensePlanCondition)" /> |
| 13 | </Chain> | 13 | </Chain> |
| 14 | <bal:Condition Condition="!(loc.NonsenseDetectCondition)" Message="Unsupported" /> | 14 | <bal:Condition Condition="!(loc.NonsenseDetectCondition)" Message="Unsupported" /> |
| 15 | </Bundle> | 15 | </Bundle> |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixIuiBa/IuibaWarnings.wxs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixIuiBa/IuibaWarnings.wxs index 2cf9787d..9c9aa0f8 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixIuiBa/IuibaWarnings.wxs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixIuiBa/IuibaWarnings.wxs | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | <bal:WixInternalUIBootstrapperApplication /> | 6 | <bal:WixInternalUIBootstrapperApplication /> |
| 7 | </BootstrapperApplication> | 7 | </BootstrapperApplication> |
| 8 | <Chain> | 8 | <Chain> |
| 9 | <MsiPackage SourceFile="test.msi" InstallCondition="INSTALLTEST" bal:DisplayInternalUICondition="DISPLAYTEST" /> | 9 | <MsiPackage SourceFile="test.msi" InstallCondition="INSTALLTEST" bal:DisplayInternalUICondition="DISPLAYTEST" bal:DisplayFilesInUseDialogCondition="DISPLAYTEST" /> |
| 10 | <ExePackage Permanent="yes" DetectCondition="none" SourceFile="runtimes\win-x86\native\wixnative.exe" Cache="force" /> | 10 | <ExePackage Permanent="yes" DetectCondition="none" SourceFile="runtimes\win-x86\native\wixnative.exe" Cache="force" /> |
| 11 | </Chain> | 11 | </Chain> |
| 12 | </Bundle> | 12 | </Bundle> |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/BootstrapperApplicationId.wxs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/BootstrapperApplicationId.wxs index e1945f53..44c15999 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/BootstrapperApplicationId.wxs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/BootstrapperApplicationId.wxs | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" |
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2"> | 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2" |
| 5 | IconSourceFile="test.ico"> | ||
| 5 | <BootstrapperApplication Id="Custom"> | 6 | <BootstrapperApplication Id="Custom"> |
| 6 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> | 7 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> |
| 7 | </BootstrapperApplication> | 8 | </BootstrapperApplication> |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/Bundle.wxs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/Bundle.wxs index c17b53ff..e0346900 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/Bundle.wxs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/Bundle.wxs | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" |
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2"> | 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2" |
| 5 | IconSourceFile="test.ico"> | ||
| 5 | <BootstrapperApplication> | 6 | <BootstrapperApplication> |
| 6 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> | 7 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> |
| 7 | </BootstrapperApplication> | 8 | </BootstrapperApplication> |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayFilesInUseDialogConditionBundle.wxs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayFilesInUseDialogConditionBundle.wxs new file mode 100644 index 00000000..098d6f83 --- /dev/null +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayFilesInUseDialogConditionBundle.wxs | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
| 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2" | ||
| 5 | IconSourceFile="test.ico"> | ||
| 6 | <BootstrapperApplication> | ||
| 7 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> | ||
| 8 | </BootstrapperApplication> | ||
| 9 | <Chain> | ||
| 10 | <MsiPackage SourceFile="test.msi" bal:DisplayFilesInUseDialogCondition="1" /> | ||
| 11 | </Chain> | ||
| 12 | </Bundle> | ||
| 13 | </Wix> | ||
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayInternalUIConditionBundle.wxs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayInternalUIConditionBundle.wxs index f08cfe6a..2dea66fd 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayInternalUIConditionBundle.wxs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/DisplayInternalUIConditionBundle.wxs | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" |
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2"> | 4 | <Bundle Name="WixStdBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="75D5D534-E177-4689-AAE9-CAC1C39002C2" |
| 5 | IconSourceFile="test.ico"> | ||
| 5 | <BootstrapperApplication> | 6 | <BootstrapperApplication> |
| 6 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> | 7 | <bal:WixStandardBootstrapperApplication LicenseUrl="http://wixtoolset.org/about/license/" Theme="hyperlinkLicense" /> |
| 7 | </BootstrapperApplication> | 8 | </BootstrapperApplication> |
