SetStatus

InstallShield 2024 » InstallScript Language Reference

Project: This information applies to InstallScript projects.

The SetStatus function is called in an object script to set the object's Status.Number and Status.Description properties. To set the object's other status properties, call SetStatusEx.

Syntax

SetStatus ( nNumber, szDescription );

Parameters

SetStatus Parameters

Parameter

Description

nNumber

Specifies the value of Status.Number.

szDescription

Specifies the value of Status.Description.

Return Values

SetStatus Return Values

Return Value

Description

>= ISERR_SUCCESS

The function successfully set the status properties.

< ISERR_SUCCESS

The function failed to set the status properties.