diff options
author | Rob Mensching <rob@firegiant.com> | 2024-12-29 18:01:20 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-12-30 06:45:49 -0800 |
commit | 523c66a62a619e6aa9f30070173ea33edfb5e328 (patch) | |
tree | 04fa3146250b7eeaa6864b0f71e37905a2d77be1 /src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp | |
parent | 6edc5d1e2a289eac50c6d59a29e195353bb023cb (diff) | |
download | wix-523c66a62a619e6aa9f30070173ea33edfb5e328.tar.gz wix-523c66a62a619e6aa9f30070173ea33edfb5e328.tar.bz2 wix-523c66a62a619e6aa9f30070173ea33edfb5e328.zip |
Rename "bundle id" concept to "bundle code"
The "bundle id" always had more in common with the PackageCode from the Windows
Installer. With the introduction of an actual Id attribute on the Bundle
element, there is potential for confusion, so there is finally real motivation
to rename "bundle id" to "bundle code".
Diffstat (limited to 'src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp')
-rw-r--r-- | src/ext/Bal/stdbas/WixStandardBootstrapperApplication.cpp | 18 |
1 files changed, 9 insertions, 9 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( |