protected function getInstallScriptPath()
{
$magento1InstallScriptPath = $this->config['installationFolder'] . '/' . MAGENTO_INSTALL_SCRIPT_PATH;
$magento2InstallScriptPath = $this->config['installationFolder'] . '/dev/shell/install.php';
if (file_exists($magento2InstallScriptPath)) {
return $magento2InstallScriptPath;
}
return $magento1InstallScriptPath;
}