Take the installscript MSI project as an example. If the installation progress is displayed during the installation of the installation package created by InstallShield
In onfirstuibefore
Dlg_sdstartcopy Interface
Enable (statusex );
This sentence.
To display the information you set, you only need to add a number of statements in this sentence enable (statusex). For example:
Enable (statusex );
/*
* When the first parameter of statusupdate is on, it can be updated in real time;
* The second parameter indicates the percentage of entries to be displayed when the installation copy arrives at the next file.
*/
Statusupdate (on, 99 );
Setstatuswindow (-1, "file copying completed at 99%."); // display the first custom information.
Delay (3); // delay of three seconds
// Set the progress bar to 100% and displays a message.
Setstatuswindow (100, "statusupdate example completed, now exiting..."); // display the second custom information
Delay (3 );
For more information, see the example of the statusupdate function in the help provided by InstallShield.