GetObjectCount

InstallShield 2022 ยป InstallScript Language Reference

Project:This information applies to InstallScript projects.

The GetObjectCount function returns the number of subobjects contained by the object or setup.

Syntax

GetObjectCount ( );

Parameters

None

Return Values

GetObjectCount Return Values

Return Value

Description

>= 0

The number of subobjects.

< ISERR_SUCCESS

GetObjectCount cannot determine the number of subobjects.

Additional Information

To get a reference to a subobject that is specified by its index within the setup or object, call GetObjectByIndex.