Offline installer for .Net 3.5 SP1 not working

后端 未结 4 1297
盖世英雄少女心
盖世英雄少女心 2021-01-05 23:13

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:

4条回答
  •  悲哀的现实
    2021-01-05 23:22

    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.

提交回复
热议问题