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.
![](collapse_all.gif)
![](collapse_all.gif)
- path (String)
- Path to the file
![](collapse_all.gif)
Language string in the form of a decimal language ID, or an empty string if the file
does not contain a language ID
![](collapse_all.gif)
Win32 MSI API: MsiGetFileVersion
![](collapse_all.gif)
Exception | Condition |
---|---|
FileNotFoundException | the file does not exist or could not be read |