Need to improve Locale Ping implementation and change GetUserDefaultUILanguage() calls in 6uN.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P2
    • 7
    • Affects Version/s: 6u14
    • Component/s: install
    • b64
    • x86
    • windows
    • Verified

        The JRE installer should ping back OS Locale information. This can easily be accomplished by altering UpdateConfig.cpp::SendHeadRequest().

        We'll need to define a constant for the ping element in the header:

        # define LOCALE_OS "evar21"

        Then, we'd need to write a supporting function that gets the machine Locale and create a pointer to it, e.g.:

        static TCHAR lpszLocale[20];
        ::GetOSLocale(lpszLocale, sizeof(lpszLocale));

        Finally, we'd need to add the element via a XmlAddElement call in the .cpp:

        XmlAddElement(szBuffer, LOCALE_OS, lpszLocale);
        We should also change all GetUserDefaultLCID() calls in the 6u16 wrapper, jinstall, etc. src code to use GetUserDefaultUILanguage().

              Assignee:
              Paul Klingaman (Inactive)
              Reporter:
              Paul Klingaman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: