Hi,
Attached you can find a sample which installs MySQL 5.6.26.0 (added as a prerequisite in "Prerequisites" page) and configure the MySQL service through a custom action (added in "Custom Actions" page).
The project requires the Enterprise edition of Advanced Installer.
All the best,
Daniel