setup-chocolatey64.bat 792 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@echo off

SET ChocolateyInstall=%CURRENT_DIR%\chocolatey64
mkdir %ChocolateyInstall%

:: the next script raises a https://community.spiceworks.com/topic/1763974-set-powershell-script-as-trusted

:: All install options - offline, proxy, etc at
:: https://chocolatey.org/install
:: @powershell -NoProfile -ExecutionPolicy Bypass -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH="%PATH%;%ChocolateyInstall%\bin"
@powershell -NoProfile -ExecutionPolicy Bypass -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) "
::call chocolatey64\bin\choco install puppet-agent.portable -y
::call chocolatey64\bin\choco feature disable --name=showNonElevatedWarnings

:end