/**
  * Validates the installation.
  *
  * @throws IncompleteInstallationException If the installation has not been completed
  */
 private function validateInstallation()
 {
     if (null === $this->request) {
         return;
     }
     // Show the "incomplete installation" message
     if (!$this->config->isComplete()) {
         throw new IncompleteInstallationException('The installation has not been completed. Open the Contao install tool to continue.');
     }
 }
 /**
  * Validates the installation.
  *
  * @throws IncompleteInstallationException If the installation has not been completed
  */
 private function validateInstallation()
 {
     if (null === $this->request || 'contao_backend_install' === $this->request->attributes->get('_route')) {
         return;
     }
     // Show the "incomplete installation" message
     if (!$this->config->isComplete()) {
         throw new IncompleteInstallationException('The installation has not been completed. Open the Contao install tool to continue.');
     }
 }