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/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.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/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp')
-rw-r--r-- | src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp index ba559b05..e65ac5ca 100644 --- a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp +++ b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp | |||
@@ -14,7 +14,7 @@ public: // IBAFunctions | |||
14 | 14 | ||
15 | public: //IBootstrapperApplication | 15 | public: //IBootstrapperApplication |
16 | virtual STDMETHODIMP OnDetectRelatedBundle( | 16 | virtual STDMETHODIMP OnDetectRelatedBundle( |
17 | __in_z LPCWSTR wzBundleId, | 17 | __in_z LPCWSTR wzBundleCode, |
18 | __in BOOTSTRAPPER_RELATION_TYPE relationType, | 18 | __in BOOTSTRAPPER_RELATION_TYPE relationType, |
19 | __in_z LPCWSTR wzBundleTag, | 19 | __in_z LPCWSTR wzBundleTag, |
20 | __in BOOL fPerMachine, | 20 | __in BOOL fPerMachine, |
@@ -27,15 +27,15 @@ public: //IBootstrapperApplication | |||
27 | HRESULT hr = S_OK; | 27 | HRESULT hr = S_OK; |
28 | LPWSTR wzValue = NULL; | 28 | LPWSTR wzValue = NULL; |
29 | 29 | ||
30 | hr = BalGetRelatedBundleVariable(wzBundleId, STRING_VARIABLE, &wzValue); | 30 | hr = BalGetRelatedBundleVariable(wzBundleCode, STRING_VARIABLE, &wzValue); |
31 | 31 | ||
32 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: AString = %ws, Error: 0x%x", wzValue, hr); | 32 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: AString = %ws, Error: 0x%x", wzValue, hr); |
33 | 33 | ||
34 | hr = BalGetRelatedBundleVariable(wzBundleId, NUMBER_VARIABLE, &wzValue); | 34 | hr = BalGetRelatedBundleVariable(wzBundleCode, NUMBER_VARIABLE, &wzValue); |
35 | 35 | ||
36 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: ANumber = %ws, Error: 0x%x", wzValue, hr); | 36 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: ANumber = %ws, Error: 0x%x", wzValue, hr); |
37 | 37 | ||
38 | hr = __super::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); | 38 | hr = __super::OnDetectRelatedBundle(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); |
39 | 39 | ||
40 | ReleaseStr(wzValue); | 40 | ReleaseStr(wzValue); |
41 | return hr; | 41 | return hr; |