Skip to content

Reevaluate use of CompareString(LOCALE_INVARIANT to be replaced by CompareStringOrdinal() #6947

@robmen

Description

@robmen
  • Describe the scenario and benefits that the feature supports.

CompareStringOrdinal() is a "new" (to Vista) function that compares string non-linguistically. As the doc calls "examples of such non-linguistic strings are NTFS file names, environment variables, and the names of mutexes, named pipes, or mailslots".

  • Describe how you're accomplishing the feature today (if possible).

Much of the WiX native code uses CompareString(LOCALE_INVARIANT because the code was designed to support XPSP2.

  • Describe what you'd like the new feature to do.

Given that WiX requires at least Win7, we should evaluate each use of CompareString(LOCALE_INVARIANT and whether it should use CompareStringOrdinal() instead.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions