diff options
author | Bob Arnson <bob@firegiant.com> | 2022-12-14 18:04:23 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2022-12-15 14:41:19 -0500 |
commit | be2449594668fab0f21eea3a80fa1efede85de77 (patch) | |
tree | 72a4cdaadbca2c6ce3d63e2675cd1a7a56187780 /src/ext | |
parent | df98a76a0b3873dea86a3e1ccfb8e39f9eddac13 (diff) | |
download | wix-be2449594668fab0f21eea3a80fa1efede85de77.tar.gz wix-be2449594668fab0f21eea3a80fa1efede85de77.tar.bz2 wix-be2449594668fab0f21eea3a80fa1efede85de77.zip |
Don't fail on bad/missing update feed URL.
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp index 998fe4cf..e4eee002 100644 --- a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp +++ b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | |||
@@ -384,6 +384,10 @@ public: // IBootstrapperApplication | |||
384 | __inout BOOL* pfStopProcessingUpdates | 384 | __inout BOOL* pfStopProcessingUpdates |
385 | ) | 385 | ) |
386 | { | 386 | { |
387 | #ifdef DEBUG | ||
388 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "WIXSTDBA: OnDetectUpdate() - update location: %ls, version: %ls", wzUpdateLocation, wzUpdateVersion); | ||
389 | #endif | ||
390 | |||
387 | HRESULT hr = S_OK; | 391 | HRESULT hr = S_OK; |
388 | int nResult = 0; | 392 | int nResult = 0; |
389 | 393 | ||
@@ -413,6 +417,17 @@ public: // IBootstrapperApplication | |||
413 | } | 417 | } |
414 | 418 | ||
415 | 419 | ||
420 | virtual STDMETHODIMP OnDetectUpdateComplete( | ||
421 | __in HRESULT /*hrStatus*/, | ||
422 | __inout BOOL* pfIgnoreError | ||
423 | ) | ||
424 | { | ||
425 | // A failed update is very sad indeed, but shouldn't be fatal. | ||
426 | *pfIgnoreError = TRUE; | ||
427 | |||
428 | return S_OK; | ||
429 | } | ||
430 | |||
416 | virtual STDMETHODIMP OnDetectComplete( | 431 | virtual STDMETHODIMP OnDetectComplete( |
417 | __in HRESULT hrStatus, | 432 | __in HRESULT hrStatus, |
418 | __in BOOL /*fEligibleForCleanup*/ | 433 | __in BOOL /*fEligibleForCleanup*/ |