xci: Set the installer and move scenario extraction into functions