From 113127583a1a74e6c1e929806fc24529f7183597 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Thu, 24 Mar 2022 19:09:18 +0100 Subject: [PATCH] [Windows] CPack command alias is not part of Choco anymore (#5278) --- images/win/scripts/Installers/Install-Choco.ps1 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/images/win/scripts/Installers/Install-Choco.ps1 b/images/win/scripts/Installers/Install-Choco.ps1 index dfa1c13c..4aa814a5 100644 --- a/images/win/scripts/Installers/Install-Choco.ps1 +++ b/images/win/scripts/Installers/Install-Choco.ps1 @@ -23,10 +23,6 @@ Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey # Turn off confirmation choco feature enable -n allowGlobalConfirmation -# https://github.com/chocolatey/choco/issues/89 -# Remove some of the command aliases, like `cpack` #89 -Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force - # Initialize environmental variable ChocolateyToolsLocation by invoking choco Get-ToolsLocation function Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force -Get-ToolsLocation \ No newline at end of file +Get-ToolsLocation