\
Windows Installer Basics
Return Codes and Error Codes or Text
Error Codes
| Windows Installer Error Codes |
These codes are not return codes from "MSIEXEC.EXE", but MAKEMSI
may display them (typically with descriptive text) during a build
or you may see them in verbose logs of installs.
You may also see descriptive text possibly filled in with parameters or
perhaps only the parameters listed.
If you don't like the descriptive text being display for build issues you
should check out the build error templates configuration section.
The "COMPANY.MMH" header file alters some typically existing
message and adds some other install time issues I have encountered.
You can add any message you wish or alter existing ones to perhaps meet the
needs of a specific MSI, see the "Z: Available?" launch
condition section for an example of this.
See the links below for some sites that document some of these codes
however here are my comments on some of these codes:
- 1327 - Invalid Drive: [2]
- 1335 - The cabinet file '[2]' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package
- 1719 - The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed...
- 1720 - There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action [2] script error [3], [4]: [5] Line [6], Column [7], [8]
- 1904 - Module [2] failed to register. HRESULT [3].
- 1909 - Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it.
- 2203 - Note: 1: 2203 2: [[MSI]] 3: [[RC]]
- 2205 - Database: [2]. Table does not exist: [3]
- 2213 - Database: [2]. Error saving database tables
- 2228 - Database: [2]. Unknown table '[3]' in SQL query: [4]
- 2262 - Stream does not exist: [2]. System error: [3]
- 2705 - Invalid table: [2]; Could not be linked as tree
- 2716 - Could not create a random subcomponent name for component '[2]'
- 2728 - Table definition error: Component
- 2731 - Selection Manager not initialized
- 2762 - Cannot write script record. Transaction not started
- 2826 - Control [3] on dialog [2] extends beyond the boundaries of the dialog [4] by [5] pixels
Note that I am in no way trying to suggest that the only reason the
above error codes get generated are for the reasons I document.
The problem will frequently be exactly what it sounds like,
I am simply documenting some reasons I have found which are not obvious.
| Other Links to Error Related Information |