The drupal hook_install function does not use a return code to indicate success or failure. In both cases, the module that is being installed is activated. Shouldn't that only be done in case of a successfull install?
I want my module only to be installed and activated when certain requirements are met. How can this be done?