Hello,
My installer is installing 3 prerequisites during my application install. Although the prerequistes are getting correctly installed, the progress bar not displayed during install. So the dialog window remains the same for a long time.
Unfortunately this is the default behavior of Windows Installer. The progress bar change length as it receives progress messages, but when you are installing a prerequisite before the main package installation, no progress can be determined.
You can take a look on
Adding Custom Actions to the ProgressBar article which may be useful.
Is it possible to display either progress bar or some message window during prerequisite installation?
Please keep in mind that a corresponding action text (for all
standard actions) will be displayed on "ProgressDlg" dialog (during installation). While a prerequisite is being installed on "ProgressDlg" dialog in the "StatusLabel" static text will be displayed the following message:
Installing prerequisite software.
However, if your prerequisite package are not large, then the "AI_InstallPrerequisite" action can be executed quickly and the related message cannot be observed on "ProgressDlg".
You can use the [Action Text...] button in the bottom right side of the "General Properties" section from
"Custom Action Properties" right pane. Please keep in mind that you can set an action text only for custom actions added as a custom action with sequence and scheduled to run as deferred.
Best regards,
Dan