appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 65 forks source link

Request for Microsoft Windows Cryptographic Next Generation Software Development Kit #1701

Open frankmorgner opened 7 years ago

frankmorgner commented 7 years ago

Detailed information about the Windows SDK is available at https://www.microsoft.com/en-us/download/details.aspx?id=1251. The SDK can be downloaded here: http://download.microsoft.com/download/2/C/9/2C93059C-0532-42DF-8C24-9AEAFF00768E/cngsdk.msi

IlyaFinkelshteyn commented 7 years ago

For now you can add this script to install section. Takes about few seconds.

Write-Host "Installing Microsoft Windows Cryptographic Next Generation SDK..." -ForegroundColor Cyan

Write-Host "Downloading..."
$msiPath = "$($env:USERPROFILE)\cngsdk.msi"
(New-Object Net.WebClient).DownloadFile('http://download.microsoft.com/download/2/C/9/2C93059C-0532-42DF-8C24-9AEAFF00768E/cngsdk.msi', $msiPath)

Write-Host "Installing..."
cmd /c start /wait msiexec /i "$msiPath" /q
del $msiPath

Write-Host "Installed  Microsoft Windows Cryptographic Next Generation SDK" -ForegroundColor Green