I have a prerequisite that is "Feature-based". The prerequisite is installing SQL Server Express. At what exact stage of "Install Execution Stage" will this prerequisite be installed? I have some other stuff that is dependent on this prereq to have installed before executing.
The feature-based prerequisites are installed exactly when you press the "Install" button from the "VerifyReadyDlg", right before entering the "Install Execution Stage".
To check this first hand, you can simply add a message box custom action right at the begin of the "Install Execution Stage" (before "Searches" action group).
A feature based prerequisite is not installed during the "Install Execution Stage" because it is impossible for two Windows Installer installation processes to be up and running at the same time (to be more precise, their install execution stage group of actions).
Also, this is the reason why, when the main setup is run silently (with not UI), the feature-based prerequisites are treated as post-install prerequisites (installed after the main setup). This is done because there are no dialogs, which means the action that launches the prerequisite does not exist (due to the fact that no dialogs exist during a silent install).
FOLLOW US
Get the latest news in Application Packaging