Created
August 15, 2023 05:55
-
-
Save OwenMcDonnell/f7ce474cc82e92cdfe0492b889e0ba70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "Installing boost 1.83.0..." -ForegroundColor Cyan | |
New-Item 'C:\Libraries' -ItemType Directory -Force | |
Write-Host "Downloading x86..." | |
$exePath = "$env:TEMP\boost_1_83_0-msvc-14.3-32.exe" | |
(New-Object Net.WebClient).DownloadFile('https://boostorg.jfrog.io/artifactory/main/release/1.83.0/binaries/boost_1_83_0-msvc-14.3-32.exe', $exePath) | |
Write-Host "Installing x86..." | |
cmd /c start /wait "$exePath" /verysilent | |
del $exePath | |
Write-Host "Downloading x64..." | |
$exePath = "$env:TEMP\boost_1_83_0-msvc-14.3-64.exe" | |
(New-Object Net.WebClient).DownloadFile('https://boostorg.jfrog.io/artifactory/main/release/1.83.0/binaries/boost_1_83_0-msvc-14.3-64.exe', $exePath) | |
Write-Host "Installing x64..." | |
cmd /c start /wait "$exePath" /verysilent | |
del $exePath | |
[IO.Directory]::Move('C:\local\boost_1_83_0', 'C:\Libraries\boost_1_83_0') | |
Remove-Item 'C:\local' -Force -Recurse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment