diff --git a/src/chocolatey/infrastructure.app/services/PowershellService.cs b/src/chocolatey/infrastructure.app/services/PowershellService.cs index 6904c0d66..9e1622634 100644 --- a/src/chocolatey/infrastructure.app/services/PowershellService.cs +++ b/src/chocolatey/infrastructure.app/services/PowershellService.cs @@ -391,6 +391,7 @@ public void prepare_powershell_environment(IPackage package, ChocolateyConfigura Environment.SetEnvironmentVariable("chocolateyChecksum64", null); Environment.SetEnvironmentVariable("chocolateyChecksumType32", null); Environment.SetEnvironmentVariable("chocolateyChecksumType64", null); + Environment.SetEnvironmentVariable("chocolateyForceX86", null); // we only want to pass the following args to packages that would apply. // like choco install git --params '' should pass those params to git.install,