aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal')
-rw-r--r--src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp18
-rw-r--r--src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp14
-rw-r--r--src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h14
3 files changed, 23 insertions, 23 deletions
diff --git a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp
index c86a4a1d..59b2d8de 100644
--- a/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp
+++ b/src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp
@@ -355,7 +355,7 @@ public: // IBootstrapperApplication
355 } 355 }
356 356
357 virtual STDMETHODIMP OnDetectRelatedBundle( 357 virtual STDMETHODIMP OnDetectRelatedBundle(
358 __in LPCWSTR wzBundleId, 358 __in LPCWSTR wzBundleCode,
359 __in BOOTSTRAPPER_RELATION_TYPE relationType, 359 __in BOOTSTRAPPER_RELATION_TYPE relationType,
360 __in LPCWSTR wzBundleTag, 360 __in LPCWSTR wzBundleTag,
361 __in BOOL fPerMachine, 361 __in BOOL fPerMachine,
@@ -368,7 +368,7 @@ public: // IBootstrapperApplication
368 368
369 if (!fMissingFromCache) 369 if (!fMissingFromCache)
370 { 370 {
371 BalInfoAddRelatedBundleAsPackage(&m_Bundle.packages, wzBundleId, relationType, fPerMachine, &pPackage); 371 BalInfoAddRelatedBundleAsPackage(&m_Bundle.packages, wzBundleCode, relationType, fPerMachine, &pPackage);
372 // Best effort 372 // Best effort
373 } 373 }
374 374
@@ -387,7 +387,7 @@ public: // IBootstrapperApplication
387 } 387 }
388 388
389 LExit: 389 LExit:
390 return CBootstrapperApplicationBase::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); 390 return CBootstrapperApplicationBase::OnDetectRelatedBundle(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel);
391 } 391 }
392 392
393 393
@@ -550,7 +550,7 @@ public: // IBootstrapperApplication
550 550
551 551
552 virtual STDMETHODIMP OnPlanRelatedBundleType( 552 virtual STDMETHODIMP OnPlanRelatedBundleType(
553 __in_z LPCWSTR wzBundleId, 553 __in_z LPCWSTR wzBundleCode,
554 __in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE recommendedType, 554 __in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE recommendedType,
555 __inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* pRequestedType, 555 __inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* pRequestedType,
556 __inout BOOL* pfCancel 556 __inout BOOL* pfCancel
@@ -562,7 +562,7 @@ public: // IBootstrapperApplication
562 *pRequestedType = BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE_NONE; 562 *pRequestedType = BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE_NONE;
563 } 563 }
564 564
565 return CBootstrapperApplicationBase::OnPlanRelatedBundleType(wzBundleId, recommendedType, pRequestedType, pfCancel); 565 return CBootstrapperApplicationBase::OnPlanRelatedBundleType(wzBundleCode, recommendedType, pRequestedType, pfCancel);
566 } 566 }
567 567
568 568
@@ -1853,7 +1853,7 @@ private: // privates
1853 { 1853 {
1854 BOOTSTRAPPER_REQUEST_STATE requestedState = pResults->requestedState; 1854 BOOTSTRAPPER_REQUEST_STATE requestedState = pResults->requestedState;
1855 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRELATEDBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext); 1855 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRELATEDBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext);
1856 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE, m_hModule, pArgs->wzBundleId, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState)); 1856 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE, m_hModule, pArgs->wzBundleCode, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState));
1857 } 1857 }
1858 1858
1859 void OnPlanRelatedBundleTypeFallback( 1859 void OnPlanRelatedBundleTypeFallback(
@@ -1863,7 +1863,7 @@ private: // privates
1863 { 1863 {
1864 BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE requestedType = pResults->requestedType; 1864 BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE requestedType = pResults->requestedType;
1865 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRELATEDBUNDLETYPE, pArgs, pResults, m_pvBAFunctionsProcContext); 1865 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRELATEDBUNDLETYPE, pArgs, pResults, m_pvBAFunctionsProcContext);
1866 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE_TYPE, m_hModule, pArgs->wzBundleId, LoggingPlanRelationTypeToString(requestedType), LoggingPlanRelationTypeToString(pResults->requestedType)); 1866 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RELATED_BUNDLE_TYPE, m_hModule, pArgs->wzBundleCode, LoggingPlanRelationTypeToString(requestedType), LoggingPlanRelationTypeToString(pResults->requestedType));
1867 } 1867 }
1868 1868
1869 void OnPlanPackageBeginFallback( 1869 void OnPlanPackageBeginFallback(
@@ -2259,7 +2259,7 @@ private: // privates
2259 { 2259 {
2260 BOOL fIgnoreBundle = pResults->fIgnoreBundle; 2260 BOOL fIgnoreBundle = pResults->fIgnoreBundle;
2261 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANFORWARDCOMPATIBLEBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext); 2261 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANFORWARDCOMPATIBLEBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext);
2262 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_FORWARD_COMPATIBLE_BUNDLE, m_hModule, pArgs->wzBundleId, fIgnoreBundle ? "ignore" : "enable", pResults->fIgnoreBundle ? "ignore" : "enable"); 2262 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_FORWARD_COMPATIBLE_BUNDLE, m_hModule, pArgs->wzBundleCode, fIgnoreBundle ? "ignore" : "enable", pResults->fIgnoreBundle ? "ignore" : "enable");
2263 } 2263 }
2264 2264
2265 void OnCacheVerifyProgressFallback( 2265 void OnCacheVerifyProgressFallback(
@@ -2361,7 +2361,7 @@ private: // privates
2361 { 2361 {
2362 BOOTSTRAPPER_REQUEST_STATE requestedState = pResults->requestedState; 2362 BOOTSTRAPPER_REQUEST_STATE requestedState = pResults->requestedState;
2363 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRESTORERELATEDBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext); 2363 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONPLANRESTORERELATEDBUNDLE, pArgs, pResults, m_pvBAFunctionsProcContext);
2364 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RESTORE_RELATED_BUNDLE, m_hModule, pArgs->wzBundleId, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState)); 2364 BalLogId(BOOTSTRAPPER_LOG_LEVEL_STANDARD, MSG_WIXSTDBA_PLANNED_RESTORE_RELATED_BUNDLE, m_hModule, pArgs->wzBundleCode, LoggingRequestStateToString(requestedState), LoggingRequestStateToString(pResults->requestedState));
2365 } 2365 }
2366 2366
2367 void OnApplyDowngradeFallback( 2367 void OnApplyDowngradeFallback(
diff --git a/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp b/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp
index 38ebf65c..f8a94853 100644
--- a/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp
+++ b/src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp
@@ -71,7 +71,7 @@ static HRESULT BalBaseBAFunctionsProcOnDetectForwardCompatibleBundle(
71 __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults 71 __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults
72 ) 72 )
73{ 73{
74 return pBAFunctions->OnDetectForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel); 74 return pBAFunctions->OnDetectForwardCompatibleBundle(pArgs->wzBundleCode, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel);
75} 75}
76 76
77static HRESULT BalBaseBAFunctionsProcOnDetectUpdateBegin( 77static HRESULT BalBaseBAFunctionsProcOnDetectUpdateBegin(
@@ -107,7 +107,7 @@ static HRESULT BalBaseBAFunctionsProcOnDetectRelatedBundle(
107 __inout BA_ONDETECTRELATEDBUNDLE_RESULTS* pResults 107 __inout BA_ONDETECTRELATEDBUNDLE_RESULTS* pResults
108 ) 108 )
109{ 109{
110 return pBAFunctions->OnDetectRelatedBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel); 110 return pBAFunctions->OnDetectRelatedBundle(pArgs->wzBundleCode, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel);
111} 111}
112 112
113static HRESULT BalBaseBAFunctionsProcOnDetectPackageBegin( 113static HRESULT BalBaseBAFunctionsProcOnDetectPackageBegin(
@@ -170,7 +170,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundle(
170 __inout BA_ONPLANRELATEDBUNDLE_RESULTS* pResults 170 __inout BA_ONPLANRELATEDBUNDLE_RESULTS* pResults
171 ) 171 )
172{ 172{
173 return pBAFunctions->OnPlanRelatedBundle(pArgs->wzBundleId, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel); 173 return pBAFunctions->OnPlanRelatedBundle(pArgs->wzBundleCode, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
174} 174}
175 175
176static HRESULT BalBaseBAFunctionsProcOnPlanRollbackBoundary( 176static HRESULT BalBaseBAFunctionsProcOnPlanRollbackBoundary(
@@ -647,7 +647,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanForwardCompatibleBundle(
647 __inout BA_ONPLANFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults 647 __inout BA_ONPLANFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults
648 ) 648 )
649{ 649{
650 return pBAFunctions->OnPlanForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fRecommendedIgnoreBundle, &pResults->fCancel, &pResults->fIgnoreBundle); 650 return pBAFunctions->OnPlanForwardCompatibleBundle(pArgs->wzBundleCode, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fRecommendedIgnoreBundle, &pResults->fCancel, &pResults->fIgnoreBundle);
651} 651}
652 652
653static HRESULT BalBaseBAFunctionsProcOnCacheContainerOrPayloadVerifyBegin( 653static HRESULT BalBaseBAFunctionsProcOnCacheContainerOrPayloadVerifyBegin(
@@ -710,7 +710,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanRestoreRelatedBundle(
710 __inout BA_ONPLANRESTORERELATEDBUNDLE_RESULTS* pResults 710 __inout BA_ONPLANRESTORERELATEDBUNDLE_RESULTS* pResults
711 ) 711 )
712{ 712{
713 return pBAFunctions->OnPlanRestoreRelatedBundle(pArgs->wzBundleId, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel); 713 return pBAFunctions->OnPlanRestoreRelatedBundle(pArgs->wzBundleCode, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
714} 714}
715 715
716static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundleType( 716static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundleType(
@@ -719,7 +719,7 @@ static HRESULT BalBaseBAFunctionsProcOnPlanRelatedBundleType(
719 __inout BA_ONPLANRELATEDBUNDLETYPE_RESULTS* pResults 719 __inout BA_ONPLANRELATEDBUNDLETYPE_RESULTS* pResults
720 ) 720 )
721{ 721{
722 return pBAFunctions->OnPlanRelatedBundleType(pArgs->wzBundleId, pArgs->recommendedType, &pResults->requestedType, &pResults->fCancel); 722 return pBAFunctions->OnPlanRelatedBundleType(pArgs->wzBundleCode, pArgs->recommendedType, &pResults->requestedType, &pResults->fCancel);
723} 723}
724 724
725static HRESULT BalBaseBAFunctionsProcOnApplyDowngrade( 725static HRESULT BalBaseBAFunctionsProcOnApplyDowngrade(
@@ -737,7 +737,7 @@ static HRESULT BalBaseBAFunctionsProcOnDetectRelatedBundlePackage(
737 __inout BA_ONDETECTRELATEDBUNDLEPACKAGE_RESULTS* pResults 737 __inout BA_ONDETECTRELATEDBUNDLEPACKAGE_RESULTS* pResults
738 ) 738 )
739{ 739{
740 return pBAFunctions->OnDetectRelatedBundlePackage(pArgs->wzPackageId, pArgs->wzBundleId, pArgs->relationType, pArgs->fPerMachine, pArgs->wzVersion, &pResults->fCancel); 740 return pBAFunctions->OnDetectRelatedBundlePackage(pArgs->wzPackageId, pArgs->wzBundleCode, pArgs->relationType, pArgs->fPerMachine, pArgs->wzVersion, &pResults->fCancel);
741} 741}
742 742
743static HRESULT BalBaseBAFunctionsProcOnCachePackageNonVitalValidationFailure( 743static HRESULT BalBaseBAFunctionsProcOnCachePackageNonVitalValidationFailure(
diff --git a/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h b/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h
index fd284d9c..d057f625 100644
--- a/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h
+++ b/src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h
@@ -121,7 +121,7 @@ public: // IBootstrapperApplication
121 } 121 }
122 122
123 virtual STDMETHODIMP OnDetectForwardCompatibleBundle( 123 virtual STDMETHODIMP OnDetectForwardCompatibleBundle(
124 __in_z LPCWSTR /*wzBundleId*/, 124 __in_z LPCWSTR /*wzBundleCode*/,
125 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 125 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
126 __in_z LPCWSTR /*wzBundleTag*/, 126 __in_z LPCWSTR /*wzBundleTag*/,
127 __in BOOL /*fPerMachine*/, 127 __in BOOL /*fPerMachine*/,
@@ -168,7 +168,7 @@ public: // IBootstrapperApplication
168 } 168 }
169 169
170 virtual STDMETHODIMP OnDetectRelatedBundle( 170 virtual STDMETHODIMP OnDetectRelatedBundle(
171 __in_z LPCWSTR /*wzBundleId*/, 171 __in_z LPCWSTR /*wzBundleCode*/,
172 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 172 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
173 __in_z LPCWSTR /*wzBundleTag*/, 173 __in_z LPCWSTR /*wzBundleTag*/,
174 __in BOOL /*fPerMachine*/, 174 __in BOOL /*fPerMachine*/,
@@ -258,7 +258,7 @@ public: // IBootstrapperApplication
258 } 258 }
259 259
260 virtual STDMETHODIMP OnPlanRelatedBundle( 260 virtual STDMETHODIMP OnPlanRelatedBundle(
261 __in_z LPCWSTR /*wzBundleId*/, 261 __in_z LPCWSTR /*wzBundleCode*/,
262 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/, 262 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
263 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/, 263 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
264 __inout BOOL* /*pfCancel*/ 264 __inout BOOL* /*pfCancel*/
@@ -776,7 +776,7 @@ public: // IBootstrapperApplication
776 } 776 }
777 777
778 virtual STDMETHODIMP OnPlanForwardCompatibleBundle( 778 virtual STDMETHODIMP OnPlanForwardCompatibleBundle(
779 __in_z LPCWSTR /*wzBundleId*/, 779 __in_z LPCWSTR /*wzBundleCode*/,
780 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 780 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
781 __in_z LPCWSTR /*wzBundleTag*/, 781 __in_z LPCWSTR /*wzBundleTag*/,
782 __in BOOL /*fPerMachine*/, 782 __in BOOL /*fPerMachine*/,
@@ -850,7 +850,7 @@ public: // IBootstrapperApplication
850 } 850 }
851 851
852 virtual STDMETHODIMP OnPlanRestoreRelatedBundle( 852 virtual STDMETHODIMP OnPlanRestoreRelatedBundle(
853 __in_z LPCWSTR /*wzBundleId*/, 853 __in_z LPCWSTR /*wzBundleCode*/,
854 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/, 854 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
855 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/, 855 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
856 __inout BOOL* /*pfCancel*/ 856 __inout BOOL* /*pfCancel*/
@@ -860,7 +860,7 @@ public: // IBootstrapperApplication
860 } 860 }
861 861
862 virtual STDMETHODIMP OnPlanRelatedBundleType( 862 virtual STDMETHODIMP OnPlanRelatedBundleType(
863 __in_z LPCWSTR /*wzBundleId*/, 863 __in_z LPCWSTR /*wzBundleCode*/,
864 __in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE /*recommendedType*/, 864 __in BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE /*recommendedType*/,
865 __inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* /*pRequestedType*/, 865 __inout BOOTSTRAPPER_RELATED_BUNDLE_PLAN_TYPE* /*pRequestedType*/,
866 __inout BOOL* /*pfCancel*/ 866 __inout BOOL* /*pfCancel*/
@@ -889,7 +889,7 @@ public: // IBootstrapperApplication
889 889
890 virtual STDMETHODIMP OnDetectRelatedBundlePackage( 890 virtual STDMETHODIMP OnDetectRelatedBundlePackage(
891 __in_z LPCWSTR /*wzPackageId*/, 891 __in_z LPCWSTR /*wzPackageId*/,
892 __in_z LPCWSTR /*wzBundleId*/, 892 __in_z LPCWSTR /*wzBundleCode*/,
893 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 893 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
894 __in BOOL /*fPerMachine*/, 894 __in BOOL /*fPerMachine*/,
895 __in LPCWSTR /*wzVersion*/, 895 __in LPCWSTR /*wzVersion*/,