aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/balutil/balutil.cpp
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-12-29 18:01:20 -0800
committerRob Mensching <rob@firegiant.com>2024-12-29 18:01:20 -0800
commit8dd2ee866dee2b25c67175c2ea88fa34e4568c5e (patch)
tree3b40f8e70c351a00cc68190bbef148e4edb2ee54 /src/api/burn/balutil/balutil.cpp
parentbd4559125099e91b8d2de9429e7cbf749e050597 (diff)
downloadwix-8dd2ee866dee2b25c67175c2ea88fa34e4568c5e.tar.gz
wix-8dd2ee866dee2b25c67175c2ea88fa34e4568c5e.tar.bz2
wix-8dd2ee866dee2b25c67175c2ea88fa34e4568c5e.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/api/burn/balutil/balutil.cpp')
-rw-r--r--src/api/burn/balutil/balutil.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/api/burn/balutil/balutil.cpp b/src/api/burn/balutil/balutil.cpp
index 716f82d3..3cca38a4 100644
--- a/src/api/burn/balutil/balutil.cpp
+++ b/src/api/burn/balutil/balutil.cpp
@@ -551,7 +551,7 @@ LExit:
551} 551}
552 552
553DAPI_(HRESULT) BalGetRelatedBundleVariable( 553DAPI_(HRESULT) BalGetRelatedBundleVariable(
554 __in_z LPCWSTR wzBundleId, 554 __in_z LPCWSTR wzBundleCode,
555 __in_z LPCWSTR wzVariable, 555 __in_z LPCWSTR wzVariable,
556 __inout LPWSTR* psczValue 556 __inout LPWSTR* psczValue
557) 557)
@@ -564,7 +564,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariable(
564 ExitOnRootFailure(hr, "BalInitialize() must be called first."); 564 ExitOnRootFailure(hr, "BalInitialize() must be called first.");
565 } 565 }
566 566
567 hr = BalGetRelatedBundleVariableFromEngine(vpEngine, wzBundleId, wzVariable, psczValue); 567 hr = BalGetRelatedBundleVariableFromEngine(vpEngine, wzBundleCode, wzVariable, psczValue);
568 568
569LExit: 569LExit:
570 return hr; 570 return hr;
@@ -572,7 +572,7 @@ LExit:
572 572
573DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine( 573DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
574 __in IBootstrapperEngine* pEngine, 574 __in IBootstrapperEngine* pEngine,
575 __in_z LPCWSTR wzBundleId, 575 __in_z LPCWSTR wzBundleCode,
576 __in_z LPCWSTR wzVariable, 576 __in_z LPCWSTR wzVariable,
577 __inout LPWSTR* psczValue 577 __inout LPWSTR* psczValue
578) 578)
@@ -586,7 +586,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
586 ExitOnFailure(hr, "Failed to determine length of value."); 586 ExitOnFailure(hr, "Failed to determine length of value.");
587 } 587 }
588 588
589 hr = pEngine->GetRelatedBundleVariable(wzBundleId, wzVariable, *psczValue, &cch); 589 hr = pEngine->GetRelatedBundleVariable(wzBundleCode, wzVariable, *psczValue, &cch);
590 if (E_MOREDATA == hr) 590 if (E_MOREDATA == hr)
591 { 591 {
592 ++cch; 592 ++cch;
@@ -594,7 +594,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
594 hr = StrAllocSecure(psczValue, cch); 594 hr = StrAllocSecure(psczValue, cch);
595 ExitOnFailure(hr, "Failed to allocate value."); 595 ExitOnFailure(hr, "Failed to allocate value.");
596 596
597 hr = pEngine->GetRelatedBundleVariable(wzBundleId, wzVariable, *psczValue, &cch); 597 hr = pEngine->GetRelatedBundleVariable(wzBundleCode, wzVariable, *psczValue, &cch);
598 } 598 }
599 599
600LExit: 600LExit: