#281446 by xqus, dropcube, and catch: Improve the requirements check for the installer. Awesome.
* Get a list of modules required by an installation profile.
* The list of modules to install.
// Get a list of modules required by this profile.
* Verify an install profile for installation.
// Get a list of modules that exist in Drupal's assorted subdirectories.
// Verify that all of the profile's required modules are present.
// Check the installation requirements for Drupal and this profile.
// Verify existence of all required modules.
// If any error messages are set now, it means a requirement problem.
// Check the severity of the requirements reported.
// and drupal is bootstrapped.
* Check installation requirements and report any errors.
// Check the profile requirements.
// If Drupal is not set up already, we need to create a settings file.
drupal_set_message(st('The @drupal installer requires that you create a settings file as part of the installation process.
// Check the other requirements.
// Add the specified modules to the list of modules in the default profile.