OnFirstUIBefore

InstallShield 2022 » InstallScript Language Reference

Project:This information applies to the following project types:

• InstallScript
• InstallScript MSI

If the InstallScript installation is included in an Advanced UI or Suite/Advanced UI project as an InstallScript package, the Advanced UI or Suite/Advanced UI installation does not call this event handler. For more information, see Adding an InstallScript Package to an Advanced UI or Suite/Advanced UI Project.

The OnFirstUIBefore event handler responds to the First UI Before event. It performs tasks that must take place before the installation of features for a first-time installation of an application.

Typically, this handler calls InstallScript functions for the following tasks:

• To set up the screen.
• To display dialogs that welcome the end user, display the software license, and show other information about the software to be installed.
• To get information from the end user—including user registration, the destination path (TARGETDIR in InstallScript projects and INSTALLDIR in InstallScript MSI projects), and the setup type.