autoconfig.php only to be deleted on successful installation


fixes #12277

@jnfrmarks