Reproducing the exact same steps in the setup wizard, once without a kickstart.ini file and once with, the one with the kickstart.ini file fails (placed in ezpublish_legacy).
The setup wizard seems to pick up the contents of the kickstart.ini file, but in the last step of the wizard (where the links to the frontend and backend are displayed) the following JS alert is given:
An error occurred while loading the web debug toolbar (500: Internal Server Error).
Do you want to open the profiler?
If I try to access the front- or backend URLs I'm redirected to /ezsetup with the same JS alert and the Symfony2 Exception:
Unable to connect to the database server 'localhost'
Error #1045: Access denied for user 'user'@'localhost' (using password: NO)
The contents of the kickstart.ini file is as follows (password removed for security reasons):
It seems to me like the database connection details (perhaps among other things) are not properly added to the SF2 settings if they come from a kickstart.ini file.