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.
Declaration Syntax
Parameters
- path (String)
- Path to the file
Return Value
Language string in the form of a decimal language ID, or an empty string if the file
does not contain a language ID
Remarks
Win32 MSI API: MsiGetFileVersion
Exceptions
Exception | Condition |
---|---|
FileNotFoundException | the file does not exist or could not be read |