Search by Tags

Add locales to an existing Windows Embedded Compact image

 
Applicable for

Subscribe for this article updates

Windows Embedded compact, like its desktop counterparts, supports a rich set of APIs that can be used to format different values as numbers, dates, currencies in the way users expect them in their own country. Unfortunately, support for a specific locale (meaning a combination of language and also country-specific formatting rules) can require a few kilobytes and add all supported locales in our standard images is not possible. Also selecting only a subset of language would not be a good solution because our customers may have different markets and so need support for different combinations of locales. Our standard image supports only the "en" default English locale.

Add support for all Windows Embedded locales

You can add all the additional supported languages using a CAB installer. This will take around 1MB of Storage and the same amount of RAM (unfortunately locale setting files must be copied in the \Windows folder that is mounted from the RAM-based object store).
If you install the CAB on a Windows Embedded Compact 2013 device you'll get a warning telling you that the installer was not meant to run on that version of the OS, you can ignore it since the CAB contains no code, but only configuration information and data files.
Installer for all locales supported by Windows Embedded Compact

Build an installer for specific locales

If you need to support a limited subset of the locales to save memory and storage space, you'll need to build your own installer. To help you we provide the project we used to build the full installer, so you can remove the locales you don't need a rebuild a smaller installation package.
The project requires VS2008 because Microsoft does not support CAB projects on VS2013/2015. A CAB installer built for Windows Embedded Compact 7 will generate a warning when installing on a Windows Embedded compact 2013 machine in interactive mode, but this will not prevent it from working correctly.
You can use the project file to customize the installer, removing locales that you don't need for your device.
Unfortunately, there is an issue with CabWiz, so you need to apply the workaround described here to be able to compile the project. Visual Studio 2008 project to build CAB installer