summaryrefslogtreecommitdiff
path: root/src/ext/Bal/wixstdfn
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-12-29 18:01:20 -0800
committerRob Mensching <rob@firegiant.com>2024-12-30 06:45:49 -0800
commit523c66a62a619e6aa9f30070173ea33edfb5e328 (patch)
tree04fa3146250b7eeaa6864b0f71e37905a2d77be1 /src/ext/Bal/wixstdfn
parent6edc5d1e2a289eac50c6d59a29e195353bb023cb (diff)
downloadwix-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/wixstdfn')
-rw-r--r--src/ext/Bal/wixstdfn/BalBaseBAFunctionsProc.cpp14
-rw-r--r--src/ext/Bal/wixstdfn/inc/BalBaseBAFunctions.h14
2 files changed, 14 insertions, 14 deletions
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*/,