I would like to ask the user some questions in a dialog way during installation of my component. As far as I know, this could be done in the preflight method. But I am not sure how to do user interaction there.
I do not know if user action via the preflight method in script.php during installation is possible. I have never seen that before. I have seen an extension using the postflight used to display a license key input form.