Launching the Application After the Installation Is Complete

InstallShield 2022

The LaunchApplication function launches an executable file. For example, the following code launches a copy of Program.exe in the end user’s INSTALLDIR folder, returning execution to the script when the end user closes the program’s window.

LaunchApplication (INSTALLDIR ^ "Program.exe", "", "", SW_NORMAL,"", LAAW_OPTION_WAIT);

 

Project:InstallScript projects use TARGETDIR rather than INSTALLDIR.