install: added pre-installation checks