Extensibility Functions

InstallShield 2022 ยป InstallScript Language Reference

Extensibility functions allow you to call functions in dynamic-link libraries, call Windows APIs, or launch another application or setup script. The UseDLL and UnUseDLL functions allow you to load or unload a DLL into memory and make use of the DLL. The LaunchApp and LaunchAppAndWait functions allow you to launch another Windows or DOS application while the script is still executing.

Extensibility Functions

Function

Description

CallDLLFx

Calls a function from an external DLL.

Delay

Delays the execution of the setup script.

LaunchApp

Launches another program. LaunchApplication supersedes this function.

LaunchAppAndWait

Launches another program and waits for that program to terminate. LaunchApplication supersedes this function.

LaunchAppAndWaitInitStartupInfo

Initializes the LAAW_STARTUPINFO and LAAW_PARAMETERS system variables to the appropriate default values. LaunchApplicationInit supersedes this function.

LaunchApplication

Uses either the Windows API function CreateProcess or the Windows API function ShellExecuteEx to launch the specified application. After the application is launched, the installation can optionally call WaitForApplication to wait for the application to terminate.

LaunchApplicationInit

Initializes the LAAW_STARTUPINFO and LAAW_PARAMETERS system variables to the appropriate default values. This function is called automatically during installation initialization.

UnUseDLL

Unloads a DLL from memory.

UseDLL

Loads a DLL into memory.

WaitForApplication

Waits for a running application to terminate before returning.