How do I translate the error reported in the Windows Installer log?
Question
Can you help me decipher the error from LastErrorRecord
FormatText : "1: 2235 2: .\debug\ftminstall.msi 3: Value 4: UPDATE ControlCondition SET ControlCondition.Value = 1 WHERE ControlCondition.Dialog ='FolderForm' AND ControlCondition.Control='AllUsersRadioGroup' and ControlCondition.Action='Hide' " Hex(err)= 80004005 Err.description= "OpenView,Sql"
Answer
There are two contexts here: Windows Installer errors and messages from the layer(s) under us
For windows installer,
- look at the first field (in this case 2235)
- look at Windows Installer Error Messages for the error: in this case
- 2236 Database: [2]. Invalid operator '[3]' in SQL query: [4].
- Substitute the [#] with the # from the log.
For the underlying layer, the way I look up eight digit errors that start with 8 is
- open a VS Command shell
- run errlook
- copy the error string
- paste it into errlook
- hit OK
I believe this is “Unspecified error”
[Author: Robert Flaming]
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.