diff --git a/modules/themeinstallator/themeinstallator.php b/modules/themeinstallator/themeinstallator.php
index 5590cd199..f3abeca79 100644
--- a/modules/themeinstallator/themeinstallator.php
+++ b/modules/themeinstallator/themeinstallator.php
@@ -524,6 +524,9 @@ class ThemeInstallator extends Module
if ((int)(Tools::getValue('imagesConfig')) != 3 AND self::updateImages())
$msg .= '
'.$this->l('Images have been correctly updated in database').'
';
+ $theme = new Theme();
+ $theme->name = pSQL($this->xml['name']);
+ $theme->add();
$this->_msg .= parent::displayConfirmation($msg);
$this->_html .= '