Object Functions
InstallShield 2020 ยป InstallScript Language Reference
The object functions are available to assist you with initializing objects, as well as obtaining and setting status information for objects.
Function |
Description |
Initializes a COM object and returns a reference that can be assigned to a variable of type OBJECT by using the set keyword. |
|
The CoCreateObjectDotNet function has been deprecated. Calling this function is the same as calling the DotNetCoCreateObject function with a null string ("") for the szAppDomain parameter. For more information, see DotNetCoCreateObject. |
|
Returns a reference to the specified COM object (as Visual Basic's GetObject function does); that reference can be assigned to a variable of type OBJECT by using the set keyword. |
|
Calls functions in .NET assemblies without the assembly being registered for COM interoperability. This function, unlike the CoCreateObjectDotNet function, lets you specify the .NET application domain in which the .NET assemblies should be loaded and run. |
|
Unloads the specified .NET application domain and releases any assemblies that are currently loaded into the specified application domain. |
|
Initializes an object and returns a reference that can be assigned to a variable of type OBJECT by using the set keyword. |
|
Finds the installation's or object's subobject that is specified by nIndex and returns a reference that can be assigned to a variable of type OBJECT by using the set keyword. |
|
Returns the number of subobjects contained by the object or installation. |
|
Retrieves the current status of the object; that is, the current value of Status.Number. |
|
Checks whether a variable of type OBJECT has been assigned a reference to a valid object, using the CreateObject or GetObject functions. |
|
Called in an object script to set the object's Status.Number and Status.Description properties. |
|
Called in an object script to set the object's status properties. |