Error C8042

InstallShield 2024 » InstallScript Language Reference

Message

'[' : string or array type required

Description

The identifier to the left of the bracket must be a string or array type.

Troubleshooting Information

This error occurs when you specify an index value for a variable that is not a string or array. Examine the identifier to the left of the bracket. If it is not a string or array, delete the index value or declare the variable as a string or array.

See Also