Deployment Tools Foundation
GetErrorMessage Method (errorRecord)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► GetErrorMessage(Record)
Gets a formatted Windows Installer error message in the system default language.
Declaration Syntax
Parameters- errorRecord (Record)
- Error record containing the error number in the first field, and error-specific parameters in the other fields.
Return ValueThe message string, or null if the error message is not found.
RemarksError numbers greater than 2000 refer to MSI "internal" errors, and are always returned in English.