diff --git a/src/chocolatey/infrastructure.app/services/PowershellService.cs b/src/chocolatey/infrastructure.app/services/PowershellService.cs index 80d5f10246..223cc6fd4c 100644 --- a/src/chocolatey/infrastructure.app/services/PowershellService.cs +++ b/src/chocolatey/infrastructure.app/services/PowershellService.cs @@ -190,12 +190,10 @@ public bool run_action(ChocolateyConfiguration configuration, PackageResult pack Environment.SetEnvironmentVariable("TEMP", configuration.CacheLocation); - //verify how not silent is passed - //if (configuration.NotSilent) - //{ - // Environment.SetEnvironmentVariable("installerArguments", " "); - // Environment.SetEnvironmentVariable("chocolateyInstallOverride", "true"); - //} + if (configuration.NotSilent) + { + Environment.SetEnvironmentVariable("chocolateyInstallOverride", "true"); + } if (configuration.Debug) { Environment.SetEnvironmentVariable("ChocolateyEnvironmentDebug", "true");