mapping Element
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
The mapping element contains child elements that map return codes from the installer to text strings that explain the return code. A returnCodeMapping element can contain multiple mapping elements, each defining a separate error code to text string mapping.
Schema Hierarchy
feed Element
msiInstall Element
Syntax
<mapping>
<returnCode>3010</returnCode>
<successRebootRequired>
<detailedInformation>Success but restart needed</detailedInformation>
</successRebootRequired>
</mapping>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element | Description |
---|---|
returnCode |
Specifies the value of the return code from the installer. |
success |
Indicates the installation succeeded. |
failure |
Indicates the installation failed. A child detailedInformation element specifies the string associated with the return code. |
successRebootRequired |
Indicates that the installation succeeded, but that a computer restart is required to complete the installation. A child detailedInformation element specifies the string associated with the return code. |
failureRebootRequired |
Indicates that the installation failed, and that a computer restart is required. A child detailedInformation element specifies the string associated with the return code. |
Parent Elements
Element | Description |
---|---|
Contains one or more child mapping elements that map return codes from the installer to error message strings. |