diff --git a/tools/install-powershell.ps1 b/tools/install-powershell.ps1 index b6c8f595cc..2c9eb0d98f 100644 --- a/tools/install-powershell.ps1 +++ b/tools/install-powershell.ps1 @@ -352,11 +352,7 @@ try { if ($IsWinEnv) { if ($UseMSI) { - if ($architecture -eq "arm64") { - $packageName = "PowerShell-${release}-win-${architecture}.msix" - } else { - $packageName = "PowerShell-${release}-win-${architecture}.msi" - } + $packageName = "PowerShell-${release}-win-${architecture}.msi" } else { $packageName = "PowerShell-${release}-win-${architecture}.zip" } @@ -388,9 +384,7 @@ try { $null = New-Item -ItemType Directory -Path $contentPath -ErrorAction SilentlyContinue if ($IsWinEnv) { - if ($UseMSI -and $architecture -eq "arm64") { - Add-AppxPackage -Path $packagePath - } elseif ($UseMSI -and $Quiet) { + if ($UseMSI -and $Quiet) { Write-Verbose "Performing quiet install" $ArgumentList=@("/i", $packagePath, "/quiet") if($MSIArguments) {