method

InstallShield 2026 » InstallScript Language Reference

Project: This information applies to InstallScript projects.

The method keyword is used to declare a method in an object script with the following syntax:

method <return variable type> <method name> ( <argument variable type(s)> );

For example:

method STRING MyMethod ( STRING, NUMBER );

If you add a method to the object project by using the Add New Method dialog box, a method declaration is automatically placed in the object script.