Added few more preinstall checks.