Hi Felix and welcome to Advanced Installer forums,
Indeed, the encountered behavior is correct.
If you need to install the prerequisites before the main installation then you can add them as
Pre-Install prerequisites. These prerequisites are installed by an EXE bootstrapper before your MSI is launched.
Unfortunately for the “Feature-based” prerequisites we cannot achieve this specific scenario to have the same installation order no matter how you perform the installation(silent or with Full UI) due to Windows Installer limitation.
Let me explain you how we support the “Feature based” prerequisite:
Full UI installation package:
- -We have a synchronous custom action in the “Install UI sequence” . This is required because you cannot have two .msi packages running in install UI sequence.
Silent installation package:
- -We have an .EXE custom action, asynchronous execution which is launched after the install execute state from the main package ends. We do this because for silent installation there is no UI sequence, so we cannot schedule a custom action to be executed before install execute sequence starts.
If you always want to have the same prerequisite order you can added them as
“Pre-Install” or
“Post-Install”. The
Pre-Install prerequisite are handled by bootstrapper in separate process. After the prerequisite finish installation then the .msi package is launched by the bootstrapper. The
Post-install prerequisites behaves the same way as
Feature-Based prerequisites in a silent installation, no matter how you perform the installation (silent or with Full UI) .
If you have other questions, please let us know.
Best regards,
Dan