diff options
| author | Bob Arnson <bob@firegiant.com> | 2026-02-20 19:18:23 -0500 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2026-02-20 19:18:23 -0500 |
| commit | 8f3c366e9671dc5d4931dd3de28a42a1f1be32a5 (patch) | |
| tree | b9f270a14fe73dc07667cf37ea0232662e7d858b /src/burn/engine/package.cpp | |
| parent | 96222b03ccc510027cb4d506fb424961cc351e03 (diff) | |
| download | wix-bob/WixStdBaConfigurableScope.tar.gz wix-bob/WixStdBaConfigurableScope.tar.bz2 wix-bob/WixStdBaConfigurableScope.zip | |
Configurable-scope bundles for WixStdBA.bob/WixStdBaConfigurableScope
Fixes https://github.com/wixtoolset/issues/issues/9234
Fixes https://github.com/wixtoolset/issues/issues/9235
Diffstat (limited to 'src/burn/engine/package.cpp')
| -rw-r--r-- | src/burn/engine/package.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/burn/engine/package.cpp b/src/burn/engine/package.cpp index 61b73dc6..c7517a10 100644 --- a/src/burn/engine/package.cpp +++ b/src/burn/engine/package.cpp | |||
| @@ -607,19 +607,19 @@ extern "C" HRESULT PackageParseScopeFromXml( | |||
| 607 | hr = XmlGetAttributeEx(pixn, L"Scope", &scz); | 607 | hr = XmlGetAttributeEx(pixn, L"Scope", &scz); |
| 608 | ExitOnRequiredXmlQueryFailure(hr, "Failed to get @Scope."); | 608 | ExitOnRequiredXmlQueryFailure(hr, "Failed to get @Scope."); |
| 609 | 609 | ||
| 610 | if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, scz, -1, L"perMachine", -1)) | 610 | if (CSTR_EQUAL == ::CompareStringOrdinal(scz, -1, L"perMachine", -1, TRUE)) |
| 611 | { | 611 | { |
| 612 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_MACHINE; | 612 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_MACHINE; |
| 613 | } | 613 | } |
| 614 | else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, scz, -1, L"perUser", -1)) | 614 | else if (CSTR_EQUAL == ::CompareStringOrdinal(scz, -1, L"perUser", -1, TRUE)) |
| 615 | { | 615 | { |
| 616 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_USER; | 616 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_USER; |
| 617 | } | 617 | } |
| 618 | else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, scz, -1, L"perUserOrMachine", -1)) | 618 | else if (CSTR_EQUAL == ::CompareStringOrdinal(scz, -1, L"perUserOrMachine", -1, TRUE)) |
| 619 | { | 619 | { |
| 620 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_USER_OR_PER_MACHINE; | 620 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_USER_OR_PER_MACHINE; |
| 621 | } | 621 | } |
| 622 | else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, scz, -1, L"perMachineOrUser", -1)) | 622 | else if (CSTR_EQUAL == ::CompareStringOrdinal(scz, -1, L"perMachineOrUser", -1, TRUE)) |
| 623 | { | 623 | { |
| 624 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_MACHINE_OR_PER_USER; | 624 | *pScope = BOOTSTRAPPER_PACKAGE_SCOPE_PER_MACHINE_OR_PER_USER; |
| 625 | } | 625 | } |
