Skip to main content

Get-MsiExitCodeMessage

SYNOPSISโ€‹

Get message for MSI error code

SYNTAXโ€‹

Get-MsiExitCodeMessage [-MsiExitCode] <Int32> [<CommonParameters>]

DESCRIPTIONโ€‹

Get message for MSI error code by reading it from msimsg.dll

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Get-MsiExitCodeMessage -MsiErrorCode 1618

PARAMETERSโ€‹

-MsiExitCodeโ€‹

{{ Fill MsiExitCode Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

CommonParametersโ€‹

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTSโ€‹

Noneโ€‹

You cannot pipe objects to this function.โ€‹

OUTPUTSโ€‹

System.Stringโ€‹

Returns the message for the MSI error code.โ€‹

NOTESโ€‹

This is an internal script function and should typically not be called directly.

http://msdn.microsoft.com/en-us/library/aa368542(v=vs.85).aspx

https://psappdeploytoolkit.com