/build/static/layout/Breadcrumb_cap_w.png

Install .net 3.5 on Windows 10

Hi 

I was wondering if there was a way to use the CAB file for .net 3.5 and install is via the kace deployment as a post installation task

Kind Regards

Lawrence

0 Comments   [ + ] Show comments

Answers (2)

Posted by: DaveMT 6 years ago
4th Degree Black Belt
3

We do this with a zipped file and batch file command.

We zip up the sxs folder for .NET 3.5 and the batch file command.

the command xcopies the sxs file to a local sources temp folder C:\ITTEMP\Sources\ (with /E /Y switches) for example.

after the copy is done, it runs a DISM command to install .NET 3.5 from the local source.

DISM.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:C:\ITTemp\Sources\sxs

If you have any difficulty get that done.  This works very well for us.


Comments:
  • We've done it in exactly the same way and it works like a charm. - CTRL+ALT+DEL 6 years ago
  • This is how we have done this. With version 1809 we had to change up the DISM command to this Dism /Online /LogLevel:4 /Add-Package /PackagePath:c:\PATH\sources\sxs\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab /NoRestart

    But now with version 1903 we can install .net 3.5, but anything that follows in my scripted install fails. Suggestions? - kadams-c 5 years ago
Posted by: chucksteel 6 years ago
Red Belt
0
I just run this command:
dism.exe /Online /Enable-Feature /FeatureName:NetFX3 /All /NoRestart

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ