diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-16 09:42:01 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-19 23:12:55 -0500 |
commit | c88806b89293f5bb92c42e90230e48be6b79b7f4 (patch) | |
tree | af9fb6fdbe68d0e208115a7d7bd73d183aff880f /src/engine/detect.cpp | |
parent | 941c47e5a3f57ce9626b447a95740b1444e69343 (diff) | |
download | wix-c88806b89293f5bb92c42e90230e48be6b79b7f4.tar.gz wix-c88806b89293f5bb92c42e90230e48be6b79b7f4.tar.bz2 wix-c88806b89293f5bb92c42e90230e48be6b79b7f4.zip |
Detect whether the bundle is cached.
Diffstat (limited to 'src/engine/detect.cpp')
-rw-r--r-- | src/engine/detect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/detect.cpp b/src/engine/detect.cpp index 355b49f5..844816ba 100644 --- a/src/engine/detect.cpp +++ b/src/engine/detect.cpp | |||
@@ -173,7 +173,7 @@ extern "C" HRESULT DetectReportRelatedBundles( | |||
173 | HRESULT hr = S_OK; | 173 | HRESULT hr = S_OK; |
174 | int nCompareResult = 0; | 174 | int nCompareResult = 0; |
175 | BOOTSTRAPPER_REQUEST_STATE uninstallRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE; | 175 | BOOTSTRAPPER_REQUEST_STATE uninstallRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE; |
176 | *pfEligibleForCleanup = pRegistration->fInstalled || CacheBundleRunningFromCache(); | 176 | *pfEligibleForCleanup = pRegistration->fInstalled || pRegistration->fCached; |
177 | 177 | ||
178 | for (DWORD iRelatedBundle = 0; iRelatedBundle < pRegistration->relatedBundles.cRelatedBundles; ++iRelatedBundle) | 178 | for (DWORD iRelatedBundle = 0; iRelatedBundle < pRegistration->relatedBundles.cRelatedBundles; ++iRelatedBundle) |
179 | { | 179 | { |