Some more installer tweaks, add preflight database type check