MSI Factory 2.3

MSI.GetLastErrorRecord

MSI.GetLastErrorRecord

Previous topic Next topic  

MSI.GetLastErrorRecord

Previous topic Next topic  

OverviewExamples

number MSI.GetLastErrorRecord (

)

Description

Calls the MsiGetLastErrorRecord function that returns the error record that was last returned for the calling process. This function returns a handle that should be closed using MSI.CloseHandle.

Field 1 of the record contains the installer error code, and other fields contain data specific to the particular error.

Parameters

None.

Returns

(number)  The handle to the error record. 0 if the function failed. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us