diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-16 10:52:26 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-19 23:12:55 -0500 |
commit | 22fb11c03329380fcffff253c7b2d4d1fccd23b4 (patch) | |
tree | 1a4fee8d61e2efafa24c90c8db1e8d2f5396e02d /src/engine/core.cpp | |
parent | 8c77de737aaea1b4857c724c730446bca8da2dd0 (diff) | |
download | wix-22fb11c03329380fcffff253c7b2d4d1fccd23b4.tar.gz wix-22fb11c03329380fcffff253c7b2d4d1fccd23b4.tar.bz2 wix-22fb11c03329380fcffff253c7b2d4d1fccd23b4.zip |
Add BURN_PAYLOAD_GROUP_ITEM to be able to move payloads during caching.
Diffstat (limited to 'src/engine/core.cpp')
-rw-r--r-- | src/engine/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/core.cpp b/src/engine/core.cpp index 98aa943e..baba55f6 100644 --- a/src/engine/core.cpp +++ b/src/engine/core.cpp | |||
@@ -1679,9 +1679,9 @@ static HRESULT DetectPackagePayloadsCached( | |||
1679 | if (DirExists(sczCachePath, NULL)) | 1679 | if (DirExists(sczCachePath, NULL)) |
1680 | { | 1680 | { |
1681 | // Check all payloads to see if any exist. | 1681 | // Check all payloads to see if any exist. |
1682 | for (DWORD i = 0; i < pPackage->payloads.cPayloads; ++i) | 1682 | for (DWORD i = 0; i < pPackage->payloads.cItems; ++i) |
1683 | { | 1683 | { |
1684 | BURN_PAYLOAD* pPayload = pPackage->payloads.rgpPayloads[i]; | 1684 | BURN_PAYLOAD* pPayload = pPackage->payloads.rgItems[i].pPayload; |
1685 | 1685 | ||
1686 | hr = PathConcat(sczCachePath, pPayload->sczFilePath, &sczPayloadCachePath); | 1686 | hr = PathConcat(sczCachePath, pPayload->sczFilePath, &sczPayloadCachePath); |
1687 | ExitOnFailure(hr, "Failed to concat payload cache path."); | 1687 | ExitOnFailure(hr, "Failed to concat payload cache path."); |