@echo off SET DIR=%~dp0% %systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://chocolatey.org/install.ps1','install.ps1'))" %systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*" SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin @echo on choco install chocolateygui @echo off echo. echo Choco and GUI is now installed, look for the icon ChocolateyGUI in your Startmenu. echo. echo Bye. echo. pause