GetFileLanguage Method (path)
From Microsoft Deployment Tools
Deployment Tools Foundation
GetFileLanguage Method (path)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► GetFileLanguage(String)
Gets the language string of the path specified using the format that the installer
expects to find them in in the database.
- path (String)
- Path to the file
Language string in the form of a decimal language ID, or an empty string if the file
does not contain a language ID
Win32 MSI API: MsiGetFileVersion
| Exception | Condition |
|---|---|
| FileNotFoundException | the file does not exist or could not be read |