Merge pull request #651 from al-cheb/al-cheb/remove_cpack_choco_alias

Remove choco alias cpack.exe that conflicts with CMake cpack
This commit is contained in:
Alejandro Pauly
2020-04-03 09:08:23 -04:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@@ -104,6 +104,10 @@ 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
# Install webpi
choco install webpicmd -y

View File

@@ -104,6 +104,10 @@ 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
# Install webpi
choco install webpicmd -y