Microsoft .NET Framework 3.5
Downloads
Version | Release Date | File |
---|---|---|
3.5 | Download |
Install Detection
This script will look at the installed package list from Windows for anything matching Visual C++ 2012 Redistributable (x64).
$Exists = Test-Path "HKLM:\\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5"
if ($Exists -eq $True) {
$Host.SetShouldExit(1)
} else {
$Host.SetShouldExit(0)
}
Install Script
This script installs the Visual C++ 2012 Redistributable (x64) redistributable silently.
Write-Host "Installing .NET Framework 3.5..."
Start-Process -FilePath "dotnetfx35.exe" -ArgumentList "/q /norestart" -Wait -Passthru
Write-Host "Done!"