I downloaded a big file of .Net 3.5 SP1.
Now when I try to install it on Windows Server 2012, I get the following screenshot:
You could easily do this. We made it for ourselves if we need it in future.
STEPS:
Create a bat file
Copy this text into the bat file and save it:
@echo To install .NET 3.5 SP1 you need to find the Windows 8.1 DVD Installer or the ISO file.
@echo Please follow the steps below:
@echo 1. Insert the DVD Installer or mount the ISO file."
@echo 2. Open MyComputer and find out the drive letter of the DVD ROM that you just inserted DVD Disk or mounted ISO file."
@echo off
set /p DriveLetter="Please enter the letter of your DVD ROM: "
Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:%DriveLetter%:\sources\sxs /LimitAccess
@echo off
set /p DriveLetter="Press Enter to close"
Run the bat file as Administrator by right click and click on Run As Administrator and rest should be self explanatory.