Using AI 7.7:
in "Launch Conditions" -> "Custom Launch Conditions" you can add your custom conditions, however, I would like to sort them.
But I don't see how this can be done.
This forces me to create complicated conditions on the "Custom Launch Conditions" so manually create this order that I want... and it's NOT fun.
Please note that Windows Installer evaluates launch conditions in a random order. If you want to run checks in a specific order, you can try using a custom action. This custom action can return 0 for success or 1602 to stop the installation.
You can schedule the custom action at the beginning of your installation. For example after "InstallUISequence" -> "Launch Conditions". You should also share the custom action with InstallExecuteSequence so it runs for silents installs (drag the custom action over "InstallExecuteSequence" -> "Launch Conditions" while Shift key is pressed).
You're right, however, these conditions will be run only after you have pressed the "install" button.
The "Custom Launch Conditions" are validated before the welcome page: so you don't get to go through all the dialog pages (next/next/next) and then press "install": only to find out that some launch condition wasn't met...
The only way I can see right now to avoid this, is to try and make complex conditions, or have all of the things I want to check in one "big" custom action...
Maybe the solution should have been that AdvancedInstaller runs a custom action for me, that receives all of those conditions: this way you can create the order you want and not depend on Microsoft...