summaryrefslogtreecommitdiff
path: root/src/api/burn/balutil/balinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/balutil/balinfo.cpp')
-rw-r--r--src/api/burn/balutil/balinfo.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/api/burn/balutil/balinfo.cpp b/src/api/burn/balutil/balinfo.cpp
index f0eb9904..29e453f6 100644
--- a/src/api/burn/balutil/balinfo.cpp
+++ b/src/api/burn/balutil/balinfo.cpp
@@ -304,6 +304,7 @@ DAPI_(void) BalInfoUninitialize(
304 ReleaseStr(pBundle->packages.rgPackages[i].sczUpgradeCode); 304 ReleaseStr(pBundle->packages.rgPackages[i].sczUpgradeCode);
305 ReleaseStr(pBundle->packages.rgPackages[i].sczVersion); 305 ReleaseStr(pBundle->packages.rgPackages[i].sczVersion);
306 ReleaseStr(pBundle->packages.rgPackages[i].sczInstallCondition); 306 ReleaseStr(pBundle->packages.rgPackages[i].sczInstallCondition);
307 ReleaseStr(pBundle->packages.rgPackages[i].sczRepairCondition);
307 ReleaseStr(pBundle->packages.rgPackages[i].sczPrereqLicenseFile); 308 ReleaseStr(pBundle->packages.rgPackages[i].sczPrereqLicenseFile);
308 ReleaseStr(pBundle->packages.rgPackages[i].sczPrereqLicenseUrl); 309 ReleaseStr(pBundle->packages.rgPackages[i].sczPrereqLicenseUrl);
309 } 310 }
@@ -484,6 +485,12 @@ static HRESULT ParsePackagesFromXml(
484 ExitOnFailure(hr, "Failed to get install condition for package."); 485 ExitOnFailure(hr, "Failed to get install condition for package.");
485 } 486 }
486 487
488 hr = XmlGetAttributeEx(pNode, L"RepairCondition", &prgPackages[iPackage].sczRepairCondition);
489 if (E_NOTFOUND != hr)
490 {
491 ExitOnFailure(hr, "Failed to get repair condition for package.");
492 }
493
487 hr = XmlGetAttributeEx(pNode, L"Cache", &scz); 494 hr = XmlGetAttributeEx(pNode, L"Cache", &scz);
488 ExitOnFailure(hr, "Failed to get cache type for package."); 495 ExitOnFailure(hr, "Failed to get cache type for package.");
489 496