public virtual bool HasPackageScriptsToRun() { return false; }
bool ShouldRunActionInConsole(ProcessPackageAction action) { if (action.HasPackageScriptsToRun()) { if (powerShellDetection.IsPowerShell2Installed()) { return true; } else { ReportPowerShellIsNotInstalled(); } } return false; }