public function install(array $data, $db)
    {
        $this->db = $db;
        $this->data = $data;
        $this->data['step'] = 0;

        if (GC_CLI) {
            $this->installCli();
            return array();
        }

        return $this->installHttp();
    }