public function doInstall()
 {
     // Try to include the file
     $file = 'administrator/components/com_magebridge/helpers/install.php';
     if (is_file(JPATH_ROOT . '/' . $file)) {
         require_once JPATH_ROOT . '/' . $file;
     } else {
         if (is_file(dirname(__FILE__) . '/' . $file)) {
             require_once dirname(__FILE__) . '/' . $file;
         } else {
             return true;
         }
     }
     // Initialize the helper
     $helper = new MageBridgeInstallHelper();
     // Initialize important variables
     $application = JFactory::getApplication();
     $db = JFactory::getDBO();
     // Remove obsolete files
     //$helper->cleanFiles();
     // Upgrade the database tables
     $helper->updateQueries();
     // Install new connectors
     $helper->installConnectors();
     // Done
     return true;
 }
function com_install()
{
    require_once dirname(__FILE__) . '/helpers/install.php';
    $helper = new MageBridgeInstallHelper();
    // Initialize important variables
    $application = JFactory::getApplication();
    $db = JFactory::getDBO();
    // Remove obsolete files
    //$helper->cleanFiles();
    // Upgrade the database tables
    $helper->updateQueries();
    // Install new connectors
    $helper->installConnectors();
    // Done
    return true;
}