aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/PackageInfo.cs')
-rw-r--r--src/api/burn/WixToolset.Mba.Core/PackageInfo.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs b/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs
index c6373647..b91c52c9 100644
--- a/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs
+++ b/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs
@@ -365,19 +365,19 @@ namespace WixToolset.Mba.Core
365 package.DisplayInternalUICondition = BootstrapperApplicationData.GetAttribute(node, "DisplayInternalUICondition"); 365 package.DisplayInternalUICondition = BootstrapperApplicationData.GetAttribute(node, "DisplayInternalUICondition");
366 } 366 }
367 367
368 nodes = root.Select("/p:BootstrapperApplicationData/p:WixMbaPrereqInformation", namespaceManager); 368 nodes = root.Select("/p:BootstrapperApplicationData/p:WixPrereqInformation", namespaceManager);
369 369
370 foreach (XPathNavigator node in nodes) 370 foreach (XPathNavigator node in nodes)
371 { 371 {
372 string id = BootstrapperApplicationData.GetAttribute(node, "PackageId"); 372 string id = BootstrapperApplicationData.GetAttribute(node, "PackageId");
373 if (id == null) 373 if (id == null)
374 { 374 {
375 throw new Exception("Failed to get package identifier for WixMbaPrereqInformation."); 375 throw new Exception("Failed to get package identifier for WixPrereqInformation.");
376 } 376 }
377 377
378 if (!packagesById.TryGetValue(id, out var ipackage)) 378 if (!packagesById.TryGetValue(id, out var ipackage))
379 { 379 {
380 throw new Exception(String.Format("Failed to find package specified in WixMbaPrereqInformation: {0}", id)); 380 throw new Exception(String.Format("Failed to find package specified in WixPrereqInformation: {0}", id));
381 } 381 }
382 382
383 var package = (PackageInfo)ipackage; 383 var package = (PackageInfo)ipackage;