Built-In Functions by Category

InstallShield 2020 » InstallScript Language Reference

The following categories of functions are available in the InstallScript language.

Built-In Functions by Category

Function Category

Description

Batch File Functions

Work with batch files.

Component Functions

In InstallShield, feature functions replace the component functions that were used in InstallShield Professional.

Configuration File Functions

Modify the default system configuration file.

Device Driver Functions

Install and uninstall device drivers using DIFx.

Dialog Functions

Create InstallScript dialogs and message boxes.

Dialog Customization Functions

Customize InstallScript dialogs, and modify the text, controls, and behavior of InstallScript dialogs.

Extensibility Functions

Call functions in dynamic-link libraries, call Windows APIs, launch another application or setup script, and load or unload a .dll file into memory.

Feature Functions

Control file media. Also create and process script-created feature sets.

File and Folder Functions

Work with text files, binary files, and folders.

Information Functions

Enables you to use FlexNet Connect to notify end users about updates that are available for your product.

Information Functions

Provide data about resources that are available in the operating environment: disk space, memory, and operating mode.

Initialization File Functions

Obtain information from and copy information to the initialization and profile files.

List Processing Functions

Implement lists in a setup script.

Log File Functions

Obtain information from and copy information to the log file's custom logging section.

Long File Name Functions

Create long file names from short file names, convert short file names to long file names, and place double quotation marks around long file names so that operating systems that handle long file names can recognize them.

Miscellaneous Functions

Serve various purposes, such as low-level hardware interface, feature creation and manipulation, and user output.

Object Functions

Initialize objects, as well as obtain and set object status information.

Path Buffer Functions

Work with strings that contain search paths. The path string functions work on a unique temporary string variable known as the path buffer.

Registry Functions

Access the registry, read, create and delete registry keys, and establish registry-related parameters for uninstallation.

Shared and Locked File Functions

Handle shared or locked files.

Shell Functions

Create shortcuts, delete existing shortcuts, and configure shortcuts.

Special Registry-Related Functions

Set up the minimum required registry keys and values. The special registry-related functions work only with the per application paths key, the application uninstallation key, or the application information key.

SQL Functions

Perform SQL tasks such as connect to a catalog, create SQL-related dialogs, and obtain SQL run-time errors.

String Functions

Manipulate string variables and literals. String functions behave similarly to the standard C language functions. The return values also follow the C language convention.

Suite/Advanced UI and Advanced UI Interaction Functions

Interact with an Advanced UI or Suite/Advanced UI installation that contains an InstallScript package, or with a Suite/Advanced UI installation that includes InstallScript actions.

Text Substitutions

Associate a string with another string—for example, associating "<MYTEXTSUB>" with "My Text Sub Value"—and of replacing the former string with the latter in other strings—for example, changing "This string demonstrates text substitution <MYTEXTSUB>" to "This string demonstrates text substitution My Text Sub Value".

Uninstallation Functions

Perform services required for the uninstallation and/or maintenance setup of an installed application.

User Interface Functions

Customize certain error messages and titles of error boxes. Note that several internal error messages that may be encountered during the development of the setup cannot be modified using user interface functions.

Version-Checking Functions

Obtain a specific file's version, find a file and get its version, or search for an existing file and try to install a newer version of the file. The functions work with either compressed or uncompressed files.

Windows Installer Functions

Exported by the Windows Installer engine. These functions enable you to query and manipulate properties of a running installation.