if not exist "C:\Windows\Temp\msys2.exe" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe', 'C:\Windows\Temp\msys2.exe')" <NUL
)

start /wait C:\Windows\Temp\msys2.exe --script A:\msys2-install.qs
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -Syu --noconfirm"
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -Syu --noconfirm"
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -S --noconfirm zip unzip"

if not exist "C:\Windows\Temp\msys2.exe" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe', 'C:\Windows\Temp\msys2.exe')" <NUL
)

start /wait C:\Windows\Temp\msys2.exe --script A:\msys2-install.qs
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -Syu --noconfirm"
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -Syu --noconfirm"
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -S --noconfirm zip unzip"
start /wait C:\msys64\usr\bin\bash.exe --login -c "pacman -S --noconfirm base-devel"

Install the base-devel meta package on setup
Install the base-devel meta package on setup
