Hello rmoc,
The issue is that Java 8 Runtime, is by default put in the
feature-base prerequisite section, which with a full UI this prerequisite is installed during the
Wizard Dialogs Stage. Because you selected no or basic UI this means it will be installed after the last stage, thus after your custom action.
To fix this issue just go in the
Prerequisites tab in Advanced Installer, and move the Java 8 Runtime to the Pre-install section instead of the Feature-based section. This way Java Runtime will be installed before your package starts installing.
Let me know if you have any other issues.
Best regards,
~Horatiu
FOLLOW US
Get the latest news in Application Packaging