diff options
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 | } |
