protected static function retrieveInstallPath()
    {
        $path1 = DIRECTORY_SEPARATOR.implode(
                DIRECTORY_SEPARATOR,
                array('src', 'Doozr', 'Installer', 'Base.php')
            );

        $path2 = DIRECTORY_SEPARATOR.implode(
                DIRECTORY_SEPARATOR,
                array('vendor', 'clickalicious', 'doozr')
            );

        $path = str_replace($path1, '', __FILE__);
        $path = str_replace($path2, '', $path);

        return realpath($path);
    }