GetExtendedErrInfo

InstallShield 2014 ยป InstallScript Language Reference

Project: This information applies to InstallScript projects.

The GetExtendedErrInfo function returns the error information that was set by SetExtendedErrInfo. Many InstallScript functions call SetExtendedErrInfo(__FILE__, __LINE__, nError) internally.

Syntax

GetExtendedErrInfo ( svScriptFile, nvLineNumber, nvError );

Parameters

GetExtendedErrInfo Parameters

Parameter

Description

svScriptFile

Returns the script file in which the error occurred.

nvLineNumber

Returns the line number in which the error occurred.

nvError

Returns the error code for the error.

Return Values

GetExtendedErrInfo Return Values

Return Value

Description

>= ISERR_SUCCESS

The function successfully retrieved the error information.

< ISERR_SUCCESS

The function failed to retrieve the error information.