private function runInstaller($userModel)
    {
        return $this->runCommand(Yii::app()->session['dsn'], 'application.modules.install.InstallerCommand', array(
            'yiic',
            'installer',
            'index',
            '--dbHost='.Yii::app()->session['dsn']['host'],
            '--dbName='.Yii::app()->session['dsn']['dbname'],
            '--dbUsername='.Yii::app()->session['dsn']['username'],
            '--dbPassword='.Yii::app()->session['dsn']['password'],
            '--adminEmail='.$userModel->email,
            '--adminPassword='.$userModel->password,
            '--adminUsername='.$userModel->username,
            '--siteName='.$userModel->siteName,
            '--force=true'
        ));
    }
private function runInstaller($userModel)
    {
        return $this->runCommand(Yii::app()->session['dsn'], 'application.modules.install.InstallerCommand', array(
            'yiic',
            'installer',
            'index',
            '--dbHost='.Yii::app()->session['dsn']['host'],
            '--dbName='.Yii::app()->session['dsn']['dbname'],
            '--dbUsername='.Yii::app()->session['dsn']['username'],
            '--dbPassword='.Yii::app()->session['dsn']['password'],
            '--adminEmail='.$userModel->email,
            '--adminPassword='.$userModel->password,
            '--adminUsername='.$userModel->username,
            '--siteName='.$userModel->siteName,
            '--force=true'
        ));
    }
private function runInstaller ( $ userModel ) { return $ this -> runCommand ( Yii :: app ( ) -> session [ 'dsn' ] , 'application.modules.install.InstallerCommand' , array ( 'yiic' , 'installer' , 'index' , '--dbHost=' . Yii :: app ( ) -> session [ 'dsn' ] [ 'host' ] , '--dbName=' . Yii :: app ( ) -> session [ 'dsn' ] [ 'dbname' ] , '--dbUsername=' . Yii :: app ( ) -> session [ 'dsn' ] [ 'username' ] , '--dbPassword=' . Yii :: app ( ) -> session [ 'dsn' ] [ 'password' ] , '--adminEmail=' . $ userModel -> email , '--adminPassword=' . $ userModel -> password , '--adminUsername=' . $ userModel -> username , '--siteName=' . $ userModel -> siteName , '--force=true' ) ) ; }
Runs the CLI installer which writes the config files and create the initial admin user
@param $userModel UserForm
@return string
Runs the CLI installer which writes the config files and create the initial admin user