Dot Net feature install bundled with the K2000 image
So I've been fighting a post install task for a little while now that, for some reason, I can't seem to get right. I have an .exe for the Service Pack 2 for .NET 2.0 - I got it here - https://www.microsoft.com/en-us/download/details.aspx?id=1639
When I attempt to install it as a post install task on imaging, it will not install silently no matter what switches I use. We are using Windows 10 Enterprise LTSC. I've made dozens of post install tasks before with little to no issue, but for whatever reason, this one (and the latest Dell Command Update 3.x as well) I can't get right. Anyone had any success with the .NET installer as a post install task?
Thanks!
Answers (2)
If it should run in a postinstall, then the SXS directory of the Windows 10 DVD must be zipped together with a small batch.
The installation is called via the command line "DISM / online / Enable-Feature / FeatureName: NetFx3 / All / LimitAccess / Source: sxs".
It is important that the appropriate SXS directory must be used for the respective Windows 10 version.
This method works very well for us.
Contents of the zip file and command line in the batch
Command line of the installation in the post installation
Comments:
-
This works perfectly. I was looking at this as an option as well, I was trying to be lazy and run the stand alone installer as a post install task. Thank you! - PFKurt 4 years ago
Are you using 1903? I read some changes were made by Microsoft, and conventional methods to install Frameworks, will not work anymore.
You might need to use DISM for that.
A BAT post install task with:
start /wait DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
The Net v3.5 package from Microsoft and it also contains .Net v2.0.
See:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/enable-or-disable-windows-features-using-dism
and:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-net-framework-35-by-using-deployment-image-servicing-and-management--dism
Comments:
-
LTSC is based on the 1809 build, but it wasn't working for 1903 either when I've tried it. I'll look at adding to via DISM to the image. Thanks - PFKurt 4 years ago