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/burn/engine/baengine.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/burn/engine/baengine.cpp')
-rw-r--r-- | src/burn/engine/baengine.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/burn/engine/baengine.cpp b/src/burn/engine/baengine.cpp index e63836f4..d1704ad9 100644 --- a/src/burn/engine/baengine.cpp +++ b/src/burn/engine/baengine.cpp | |||
@@ -330,7 +330,7 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
330 | HRESULT hr = S_OK; | 330 | HRESULT hr = S_OK; |
331 | BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS args = { }; | 331 | BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS args = { }; |
332 | BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS results = { }; | 332 | BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS results = { }; |
333 | LPWSTR sczBundleId = NULL; | 333 | LPWSTR sczBundleCode = NULL; |
334 | LPWSTR sczVariable = NULL; | 334 | LPWSTR sczVariable = NULL; |
335 | LPWSTR sczValue = NULL; | 335 | LPWSTR sczValue = NULL; |
336 | 336 | ||
@@ -338,13 +338,13 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
338 | hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion); | 338 | hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion); |
339 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable args."); | 339 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable args."); |
340 | 340 | ||
341 | hr = BuffReaderReadString(pReaderArgs, &sczBundleId); | 341 | hr = BuffReaderReadString(pReaderArgs, &sczBundleCode); |
342 | ExitOnFailure(hr, "Failed to read bundle id of BAEngineGetRelatedBundleVariable args."); | 342 | ExitOnFailure(hr, "Failed to read bundle code of BAEngineGetRelatedBundleVariable args."); |
343 | 343 | ||
344 | hr = BuffReaderReadString(pReaderArgs, &sczVariable); | 344 | hr = BuffReaderReadString(pReaderArgs, &sczVariable); |
345 | ExitOnFailure(hr, "Failed to read variable name of BAEngineGetRelatedBundleVariable args."); | 345 | ExitOnFailure(hr, "Failed to read variable name of BAEngineGetRelatedBundleVariable args."); |
346 | 346 | ||
347 | args.wzBundleId = sczBundleId; | 347 | args.wzBundleCode = sczBundleCode; |
348 | args.wzVariable = sczVariable; | 348 | args.wzVariable = sczVariable; |
349 | 349 | ||
350 | // Read results. | 350 | // Read results. |
@@ -355,7 +355,7 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
355 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable results."); | 355 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable results."); |
356 | 356 | ||
357 | // Execute. | 357 | // Execute. |
358 | hr = BundleGetBundleVariable(args.wzBundleId, args.wzVariable, &sczValue); | 358 | hr = BundleGetBundleVariable(args.wzBundleCode, args.wzVariable, &sczValue); |
359 | ExitOnFailure(hr, "Failed to get related bundle variable: %ls", sczVariable); | 359 | ExitOnFailure(hr, "Failed to get related bundle variable: %ls", sczVariable); |
360 | 360 | ||
361 | results.cchValue = lstrlenW(sczValue); | 361 | results.cchValue = lstrlenW(sczValue); |
@@ -374,7 +374,7 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
374 | LExit: | 374 | LExit: |
375 | ReleaseStr(sczValue); | 375 | ReleaseStr(sczValue); |
376 | ReleaseStr(sczVariable); | 376 | ReleaseStr(sczVariable); |
377 | ReleaseStr(sczBundleId); | 377 | ReleaseStr(sczBundleCode); |
378 | 378 | ||
379 | return hr; | 379 | return hr; |
380 | } | 380 | } |