[Windows] CPack command alias is not part of Choco anymore (#5278)

This commit is contained in:
Andre Hofmeister
2022-03-24 19:09:18 +01:00
committed by GitHub
parent 9e380e00a9
commit 113127583a

View File

@@ -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
Get-ToolsLocation