you would need to use the following as that is the EULA Page that is coming up and requires the box to be 'checked' before continuing the installation
ndp48-x86-x64-allos-enu.exe /passive (or /quiet) /AcceptEULA /norestart
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am unable to install .NET Framework 4.8 offline installer via silent mode. I used Admin CMD with "ndp48-x86-x64-allos-enu.exe /q /norestart" command to install. It won't install and stuck in End User Accept License area. I knew this is because I removed /q option to run again and it stated on EULA.
Is there a command option to accept EULA so that we can install it in silent mode?
Thanks,
Brandon.
you would need to use the following as that is the EULA Page that is coming up and requires the box to be 'checked' before continuing the installation
ndp48-x86-x64-allos-enu.exe /passive (or /quiet) /AcceptEULA /norestart
I'm having the same issues, tried everything, cant get passed the ULA. help!
Brandon, did you get this to work?
Here is some powershell that I have that works to fully download and install the .Net 4.8 developer pack.
# install the .Net 4.8 developer pack
$firstUrl="https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net48-developer-pack-offline-installer"
$installFile="ndp48-devpack-enu.exe"
# get the developerpack download content page
Write-Host "Getting The Direct Download link from $firstUrl"
$HTML = Invoke-WebRequest -Uri $firstUrl -UseBasicParsing -SessionVariable session
# find the direct download link from that page
$url = $HTML.Links | Where-Object {$_.onclick -eq "recordmanualdownload()"}|Select-Object -ExpandProperty href
If(-Not $url)
{
Write-Error "Could not find the Manual Download link for $firstUrl"
Exit 1
}
Write-Host "downloadLink=$url"
# download the actual EXE and save it
Write-Host "Downloading to $installFile"
Invoke-WebRequest -Uri "$url" -OutFile $installFile
if (-Not (Test-Path $installFile)) {
Write-Error "Downloaded $installFile file could not be located"
Exit 1
}
$installarguments = '/msioptions "AGREETOLICENSE=yes ACCEPTEULA=Yes" /norestart /passive /qb'
Write-Host "Executing $installFile $installarguments"
Start-Process -Wait -FilePath $installFile -ArgumentList $installarguments -Verb RunAs
rm $installFile