public function endAction()
 {
     try {
         if (Installer_Model_Installer::isInstalled() or Installer_Model_Installer::setIsInstalled()) {
             $html = array('success' => 1);
         } else {
             throw new Exception("An error occured while finalizing the installation.");
         }
     } catch (Exception $e) {
         $html = array('message' => $e->getMessage());
         $this->getResponse()->setHttpResponseCode(400);
     }
     $this->getLayout()->setHtml(Zend_Json::encode($html));
 }