Old AutoCAD install still asks for net 3.5 install

Comments

1 comment

  • Wei

    .Net 3.5 is a Windows feature. I use PowerShell to deploy it in my server environment (see the code example). You will need to copy the \sources\sxs folders out from all the Windows ISOs and put them to a network share.

    $Server_Version =  (Get-CimInstance Win32_OperatingSystem).Version
    switch ($Server_Version) {
    
    '6.3.9600'  
      {
     
      Write-Host "Install .NET 3.5 on Server 2012R2"
    
      Install-WindowsFeature Net-Framework-Core -source \\$Your_Share\Dot_Net3_5\2012R2\sxs
      }
    
    
     '10.0.14393' 
      {
      
      Write-Host "Install .NET 3.5 on Server 2016"  
      
      Install-WindowsFeature Net-Framework-Core -source \\$Your_Share\Dot_Net3_5\2016\sxs
    
      }
    
     '10.0.17763' 
    
      {
      Write-Host "Install .NET 3.5 on Server 2019"  
      
      Install-WindowsFeature Net-Framework-Core -source \\$Your_Share\Dot_Net3_5\2019\sxs
      }
    
    }
    

    Alternatively you can also use the build in Conditions (Windows 7, Windows 10) to push out the installer directly. enter image description here

    0
    Comment actions Permalink

Please sign in to leave a comment.