install:
- ps: |
- Remove-Item -Recurse -Force -Path C:/OpenSSL-Win64
+ $OpenSSLPath = "C:\OpenSSL-Win64"
+ if (Test-Path $OpenSSLPath) {
+ Remove-Item -Recurse -Force -Path $OpenSSLPath
+ }
New-Item -ItemType Directory -Force -Path C:\ovs-build-downloads
# Find and download the latest stable OpenSSl 3.0.
}
Write-Host "Installing:" $destination
- Start-Process -FilePath $destination `
- -ArgumentList "/silent /verysilent /sp- /suppressmsgboxes" -Wait
+ $installArgs = @{
+ FilePath = $destination
+ ArgumentList = '/silent /verysilent /sp- /suppressmsgboxes ' +
+ '/DIR="' + $OpenSSLPath + '"'
+ Wait = $true
+ }
+ Start-Process @installArgs
- ps: git clone -q https://git.code.sf.net/p/pthreads4w/code c:\pthreads4w-code
- ps: python3 -m pip install pypiwin32 --disable-pip-version-check