18.2.3 International Uses of the File Version Library

If your application includes a Windows version resource, you can use the functions in the file version library (VER.DLL) in your installation program. A Windows version resource includes the language, code page, version number, and so on for a file. The functions in VER.DLL retrieve information from a file's version resource and install files based on this information. For example, if an installation program tries to replace an existing copy of an application with a new copy in a different language, the VerInstallFile function returns an error that indicates a language conflict. Then the installation program queries the user about whether to overwrite the old file, install the new copy in another location, or exit.

For more information about the contents of a version resource and about using version functions, see Chapter 11, “File Installation Library.”